[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
|
cmd = found
|
||||||
|
|
||||||
if isinstance(cmd, Group):
|
if isinstance(cmd, Group):
|
||||||
await self.send_group_help(cmd)
|
return await self.send_group_help(cmd)
|
||||||
else:
|
else:
|
||||||
await self.send_command_help(cmd)
|
return await self.send_command_help(cmd)
|
||||||
|
|
||||||
class DefaultHelpCommand(HelpCommand):
|
class DefaultHelpCommand(HelpCommand):
|
||||||
"""The implementation of the default help command.
|
"""The implementation of the default help command.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user