Add help command

This commit is contained in:
Supositware 2022-09-02 09:54:46 +02:00
parent 8dab14444a
commit 5a43d46975

View file

@ -182,6 +182,13 @@ const commands = [
option.setName('url') option.setName('url')
.setDescription('URL of the video you want to add.') .setDescription('URL of the video you want to add.')
.setRequired(true)), .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()); .map(command => command.toJSON());