diff options
| author | 2022-08-23 20:46:14 +0100 | |
|---|---|---|
| committer | 2022-09-21 23:02:55 +0100 | |
| commit | cc2dcdcdbf9e6057053bdb72bba848f4c2e19cbd (patch) | |
| tree | 75c87793362d786bb2c45fea8fb235435e44c315 /bot/exts/events/advent_of_code | |
| parent | Move startup checks and logs to their own cog (diff) | |
Use extension utils from bot-core
Diffstat (limited to 'bot/exts/events/advent_of_code')
| -rw-r--r-- | bot/exts/events/advent_of_code/_cog.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/events/advent_of_code/_cog.py b/bot/exts/events/advent_of_code/_cog.py index 1d8b0ca7..ab5a7a34 100644 --- a/bot/exts/events/advent_of_code/_cog.py +++ b/bot/exts/events/advent_of_code/_cog.py @@ -18,7 +18,6 @@ from bot.exts.events.advent_of_code.views.dayandstarview import AoCDropdownView from bot.utils import members from bot.utils.decorators import InChannelCheckFailure, in_month, whitelist_override, with_role from bot.utils.exceptions import MovedCommandError -from bot.utils.extensions import invoke_help_command log = logging.getLogger(__name__) @@ -122,7 +121,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) + await self.bot.invoke_help_command(ctx) @with_role(Roles.admins) @adventofcode_group.command( |