From cb6b7d75b1bc826fe7429ffbd4ac6307cfecb6f0 Mon Sep 17 00:00:00 2001 From: Supositware Date: Thu, 18 Aug 2022 02:09:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/fun/s.js | 18 ++++++++++++++++++ scripts/deploy-commands.cjs | 8 ++++++++ 2 files changed, 26 insertions(+) create mode 100644 commands/fun/s.js diff --git a/commands/fun/s.js b/commands/fun/s.js new file mode 100644 index 0000000..cf12aca --- /dev/null +++ b/commands/fun/s.js @@ -0,0 +1,18 @@ +import { SlashCommandBuilder } from '@discordjs/builders'; + +export default { + data: new SlashCommandBuilder() + .setName('s') + .setDescription('What could this be 🤫') + .addStringOption(option => + option.setName('something') + .setDescription('🤫') + .setRequired(true)), + async execute(interaction) { + const command = interaction.options.getString('something'); + + if (command === 'levertowned') { + interaction.reply('Hello buddy bro <:youngtroll:488559163832795136> <@434762632004894746>'); + } + }, +}; diff --git a/scripts/deploy-commands.cjs b/scripts/deploy-commands.cjs index e6dc13a..8921c9a 100644 --- a/scripts/deploy-commands.cjs +++ b/scripts/deploy-commands.cjs @@ -101,6 +101,14 @@ const commands = [ option.setName('image') .setDescription('Optional attachment (Image only.)') .setRequired(false)), + + new SlashCommandBuilder() + .setName('s') + .setDescription('What could this be 🤫') + .addStringOption(option => + option.setName('something') + .setDescription('🤫') + .setRequired(true)), ] .map(command => command.toJSON());