forked from Supositware/Haha-Yes
🤫
This commit is contained in:
parent
abe4fe7756
commit
cb6b7d75b1
2 changed files with 26 additions and 0 deletions
18
commands/fun/s.js
Normal file
18
commands/fun/s.js
Normal file
|
@ -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…
Reference in a new issue