We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc74b66 commit 0f9e61cCopy full SHA for 0f9e61c
1 file changed
bin/discord
@@ -44,6 +44,8 @@ def build_subcommands(thor_class)
44
subcommands = []
45
46
thor_class.commands.each_pair do |name, command|
47
+ next if name == 'help'
48
+
49
cmd = {
50
type: 1, # sub_command
51
name: name,
@@ -61,6 +63,8 @@ def build_from_thor(thor_class)
61
63
commands = []
62
64
65
66
67
68
cmd = build_command(name, command.description)
69
cmd[:options] =
70
if thor_class.subcommand_classes.key?(name)
0 commit comments