mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
Add new slash commands
This commit is contained in:
@@ -145,6 +145,31 @@ GUILD_COMMANDS.push(new SlashCommandBuilder()
|
||||
)
|
||||
);
|
||||
|
||||
GUILD_COMMANDS.push(new SlashCommandBuilder()
|
||||
.setName('stats')
|
||||
.setDescription('Show the bot stats')
|
||||
);
|
||||
|
||||
GUILD_COMMANDS.push(new SlashCommandBuilder()
|
||||
.setName('skip')
|
||||
.setDescription('Skip the current song')
|
||||
);
|
||||
|
||||
GUILD_COMMANDS.push(new SlashCommandBuilder()
|
||||
.setName('nowplaying')
|
||||
.setDescription('Show the current song information')
|
||||
);
|
||||
|
||||
GUILD_COMMANDS.push(new SlashCommandBuilder()
|
||||
.setName('join')
|
||||
.setDescription('Join the voice channel')
|
||||
);
|
||||
|
||||
GUILD_COMMANDS.push(new SlashCommandBuilder()
|
||||
.setName('leave')
|
||||
.setDescription('Leave the voice channel')
|
||||
);
|
||||
|
||||
|
||||
export const registerAllGlobalCommands = async () => {
|
||||
Logger.log('info', `Registering all global interaction commands`);
|
||||
|
||||
Reference in New Issue
Block a user