diff options
author | 2021-03-11 12:24:49 -0500 | |
---|---|---|
committer | 2021-03-11 12:24:49 -0500 | |
commit | 1cd9c7a4f74834d799bfc706f5f28cb4147fa0ff (patch) | |
tree | 4b54cc75f5ae9059cfd546c3eeb3e75d8cd36def /bot/exts/evergreen/status_codes.py | |
parent | Merge pull request #619 from JagTheFriend/master (diff) |
change ctx.send_help to ctx.invoke(help_command)
;
Diffstat (limited to 'bot/exts/evergreen/status_codes.py')
-rw-r--r-- | bot/exts/evergreen/status_codes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/status_codes.py b/bot/exts/evergreen/status_codes.py index 874c87eb..d06724eb 100644 --- a/bot/exts/evergreen/status_codes.py +++ b/bot/exts/evergreen/status_codes.py @@ -17,7 +17,8 @@ class HTTPStatusCodes(commands.Cog): async def http_status_group(self, ctx: commands.Context) -> None: """Group containing dog and cat http status code commands.""" if not ctx.invoked_subcommand: - await ctx.send_help(ctx.command) + help_command = self.bot.get_command("help") + await ctx.invoke(help_command, ctx.command.name) @http_status_group.command(name='cat') async def http_cat(self, ctx: commands.Context, code: int) -> None: |