diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2023-09-05 11:38:26 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2023-09-05 11:38:26 -0400 |
commit | f924dd8fcaeca7523289b9aba46b6145c46b42dd (patch) | |
tree | 70294b1266fa1846b7ea122e88e48483fae3278e /commands/use.js | |
parent | e4450c8417624b71d779cb4f41692538f9165e10 (diff) | |
download | sowbot3-f924dd8fcaeca7523289b9aba46b6145c46b42dd.tar.gz sowbot3-f924dd8fcaeca7523289b9aba46b6145c46b42dd.tar.bz2 sowbot3-f924dd8fcaeca7523289b9aba46b6145c46b42dd.zip |
rename /use to /send, add resetcmd
Diffstat (limited to 'commands/use.js')
-rw-r--r-- | commands/use.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/commands/use.js b/commands/use.js deleted file mode 100644 index dc9897b..0000000 --- a/commands/use.js +++ /dev/null @@ -1,16 +0,0 @@ -const { SlashCommandBuilder } = require('discord.js'); - -module.exports = { - data: new SlashCommandBuilder() - .setName('use') - .setDescription('Use a Command') - .addStringOption(option => - option.setName('command') - .setDescription('What the bot will send') - .setRequired(true) - .addChoices(...global.data.getList()) - ), - async execute(interaction) { - await interaction.reply(global.data.get(interaction.options.getString('command'))); - }, -};
\ No newline at end of file |