diff options
| author | 2021-03-13 10:16:31 -0500 | |
|---|---|---|
| committer | 2021-03-13 10:16:31 -0500 | |
| commit | 9ec1cf9b983a69c381507f82c317e0465eecdc35 (patch) | |
| tree | 7deaf95949693aafc7592dfe7933425ebdc8f6dc /bot/exts/christmas/advent_of_code | |
| parent | Make flake8 happy again. (diff) | |
make invoke_help_command only take ctx
Diffstat (limited to 'bot/exts/christmas/advent_of_code')
| -rw-r--r-- | bot/exts/christmas/advent_of_code/_cog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/christmas/advent_of_code/_cog.py b/bot/exts/christmas/advent_of_code/_cog.py index 6ba5c2af..dc3d7616 100644 --- a/bot/exts/christmas/advent_of_code/_cog.py +++ b/bot/exts/christmas/advent_of_code/_cog.py @@ -52,7 +52,7 @@ class AdventOfCode(commands.Cog): async def adventofcode_group(self, ctx: commands.Context) -> None: """All of the Advent of Code commands.""" if not ctx.invoked_subcommand: - await invoke_help_command(ctx, ctx.command.name) + await invoke_help_command(ctx) @adventofcode_group.command( name="subscribe", |