From 6e90cde57af865e585cf06d297eadb4424ebcdbb Mon Sep 17 00:00:00 2001 From: ame Date: Tue, 31 Oct 2023 22:33:02 -0500 Subject: subcommands --- commands/util/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/util/help.js') 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")}) }, -- cgit v1.2.3