slash
Supositware 2 years ago
parent abe4fe7756
commit cb6b7d75b1

@ -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>');
}
},
};

@ -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());

Loading…
Cancel
Save