[commands] Return result of send_group_help and send_command_help
This commit is contained in:
parent
0063fffb1a
commit
7a5102ece9
@ -754,9 +754,9 @@ class HelpCommand:
|
||||
cmd = found
|
||||
|
||||
if isinstance(cmd, Group):
|
||||
await self.send_group_help(cmd)
|
||||
return await self.send_group_help(cmd)
|
||||
else:
|
||||
await self.send_command_help(cmd)
|
||||
return await self.send_command_help(cmd)
|
||||
|
||||
class DefaultHelpCommand(HelpCommand):
|
||||
"""The implementation of the default help command.
|
||||
|
Loading…
x
Reference in New Issue
Block a user