From 2c8d533cba49159aed6ff6121088037ec944e476 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Mon, 6 Jun 2022 02:43:17 +0700 Subject: [PATCH] Add new slash commands --- src/utils/DiscordInteraction.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/utils/DiscordInteraction.ts b/src/utils/DiscordInteraction.ts index 1694980..20d055b 100644 --- a/src/utils/DiscordInteraction.ts +++ b/src/utils/DiscordInteraction.ts @@ -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`);