diff options
author | 2019-10-02 00:14:21 +0200 | |
---|---|---|
committer | 2019-10-02 00:14:21 +0200 | |
commit | 619ee9fd2106d0778e90ae782be1c66abe516cba (patch) | |
tree | 31600eff9ddcaee30b0a663ab9cd8c65a9f69cce /bot/seasons/christmas/adventofcode.py | |
parent | Use rewritten override_in_channel to create a new whitelist for the command (diff) |
call the rewritten override_in_channel
Diffstat (limited to 'bot/seasons/christmas/adventofcode.py')
-rw-r--r-- | bot/seasons/christmas/adventofcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/christmas/adventofcode.py b/bot/seasons/christmas/adventofcode.py index 6609387e..513c1020 100644 --- a/bot/seasons/christmas/adventofcode.py +++ b/bot/seasons/christmas/adventofcode.py @@ -126,7 +126,7 @@ class AdventOfCode(commands.Cog): self.status_task = asyncio.ensure_future(self.bot.loop.create_task(status_coro)) @commands.group(name="adventofcode", aliases=("aoc",), invoke_without_command=True) - @override_in_channel + @override_in_channel() async def adventofcode_group(self, ctx: commands.Context) -> None: """All of the Advent of Code commands.""" await ctx.send_help(ctx.command) |