[commands] Return result of send_group_help and send_command_help

This commit is contained in:
Rapptz 2019-03-16 07:33:12 -04:00
parent 0063fffb1a
commit 7a5102ece9

View File

@ -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.