aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/christmas
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-03-13 17:43:55 +0200
committerGravatar GitHub <[email protected]>2021-03-13 17:43:55 +0200
commit0f69e00aa55ca7294e71e19ab41b57bef7a9f977 (patch)
tree7deaf95949693aafc7592dfe7933425ebdc8f6dc /bot/exts/christmas
parentMerge pull request #619 from JagTheFriend/master (diff)
parentmake 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')
-rw-r--r--bot/exts/christmas/advent_of_code/_cog.py3
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",