diff options
| author | 2021-03-13 17:43:55 +0200 | |
|---|---|---|
| committer | 2021-03-13 17:43:55 +0200 | |
| commit | 0f69e00aa55ca7294e71e19ab41b57bef7a9f977 (patch) | |
| tree | 7deaf95949693aafc7592dfe7933425ebdc8f6dc /bot/exts/christmas/advent_of_code | |
| parent | Merge pull request #619 from JagTheFriend/master (diff) | |
| parent | make invoke_help_command only take ctx (diff) | |
Merge pull request #625 from ToxicKidz/no-ctx-send-help
change ctx.send_help to ctx.invoke(help_command)
Diffstat (limited to 'bot/exts/christmas/advent_of_code')
| -rw-r--r-- | bot/exts/christmas/advent_of_code/_cog.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/christmas/advent_of_code/_cog.py b/bot/exts/christmas/advent_of_code/_cog.py index 29902306..dc3d7616 100644 --- a/bot/exts/christmas/advent_of_code/_cog.py +++ b/bot/exts/christmas/advent_of_code/_cog.py @@ -12,6 +12,7 @@ from bot.constants import ( ) from bot.exts.christmas.advent_of_code import _helpers from bot.utils.decorators import InChannelCheckFailure, in_month, whitelist_override, with_role +from bot.utils.extensions import invoke_help_command log = logging.getLogger(__name__) @@ -51,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 ctx.send_help(ctx.command) + await invoke_help_command(ctx) @adventofcode_group.command( name="subscribe", |