diff options
| author | ame <[email protected]> | 2023-10-31 22:33:02 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2023-10-31 22:33:02 -0500 |
| commit | c2fbf3817925d08ca4a57b6a8803fd7b0d10c826 (patch) | |
| tree | e532bd0abf907205dba74dadbf45ccaea5b16fac /commands/util/help.js | |
| parent | a448eea7fbd6fc53b48923d2090ff764cf5619e1 (diff) | |
subcommands
Diffstat (limited to 'commands/util/help.js')
| -rw-r--r-- | commands/util/help.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/util/help.js b/commands/util/help.js index b52ee12..a8d5cb4 100644 --- a/commands/util/help.js +++ b/commands/util/help.js @@ -30,7 +30,7 @@ module.exports = { async main (client,Discord,message,args){ this.exec(client,{message:message,specify:args[0]}) }, - s_options:[{type:"string",name:"command",desc:"command to be specified",required:false,autocomplete:command_names}], + s_options:[{type:"string",name:"command",desc:"command to be specified",required:false,autocomplete:false,choices:command_names}], async s_main(client,Discord,interaction){ this.exec(client,{message:interaction,specify:interaction.options.getString("command")}) }, |
