forked from Supositware/Haha-Yes
Add help command
This commit is contained in:
parent
8dab14444a
commit
5a43d46975
1 changed files with 7 additions and 0 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue