From 5a43d46975711b595c946995dcade12fa5614469 Mon Sep 17 00:00:00 2001 From: Supositware Date: Fri, 2 Sep 2022 09:54:46 +0200 Subject: [PATCH] Add help command --- scripts/deploy-commands.cjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/deploy-commands.cjs b/scripts/deploy-commands.cjs index 6b44b6e..9d6f1d6 100644 --- a/scripts/deploy-commands.cjs +++ b/scripts/deploy-commands.cjs @@ -182,6 +182,13 @@ const commands = [ option.setName('url') .setDescription('URL of the video you want to add.') .setRequired(true)), + + new SlashCommandBuilder() + .setName('help') + .setDescription('Displays a list of commands or information about a command.') + .addStringOption(option => + option.setName('command') + .setDescription('The command you want more details about.')), ] .map(command => command.toJSON());