aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/attack.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-03 11:42:27 -0500
committerAndrew Lee <andrew@alee14.me>2025-03-03 11:42:27 -0500
commitfd7f8eba960981482fabf350995bf753feebb176 (patch)
tree2bd0c85b09a04ecd8e1f20fc409eb4b8a22289a7 /bot/src/commands/attack.js
parentcf1382d88c5e3298923c8cb243b7bc5751e68b53 (diff)
downloadAleeBot-fd7f8eba960981482fabf350995bf753feebb176.tar.gz
AleeBot-fd7f8eba960981482fabf350995bf753feebb176.tar.bz2
AleeBot-fd7f8eba960981482fabf350995bf753feebb176.zip
More commands ported; Almost all 2.x features have been added
Diffstat (limited to 'bot/src/commands/attack.js')
-rw-r--r--bot/src/commands/attack.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/bot/src/commands/attack.js b/bot/src/commands/attack.js
new file mode 100644
index 0000000..2863e5a
--- /dev/null
+++ b/bot/src/commands/attack.js
@@ -0,0 +1,17 @@
+import { SlashCommandBuilder } from 'discord.js';
+
+export default {
+ data: new SlashCommandBuilder()
+ .setName('attack')
+ .setDescription('You don\'t like someone? Attack them!')
+ .addStringOption(option =>
+ option
+ .setName('target')
+ .setDescription('Enter the target you want to attack.')
+ .setRequired(true)),
+ async execute(interaction) {
+ const target = interaction.options.getString('target');
+
+ return await interaction.reply(`${interaction.user.displayName} :right_facing_fist: ${target}`);
+ }
+};