diff options
author | 2019-08-14 15:24:01 -0400 | |
---|---|---|
committer | 2019-08-14 15:24:01 -0400 | |
commit | 119d542483f59d3f581b168854af9012208abf7d (patch) | |
tree | 7706226d2e01cfb128a71d1ca52404a1246407e3 /bot/seasons/christmas/adventofcode.py | |
parent | moved data grab to module level, changed var to constant (diff) | |
parent | Merge pull request #257 from vivax3794/minesweeper-lenght-fix (diff) |
Merge pull request #1 from python-discord/master
update
Diffstat (limited to 'bot/seasons/christmas/adventofcode.py')
-rw-r--r-- | bot/seasons/christmas/adventofcode.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/seasons/christmas/adventofcode.py b/bot/seasons/christmas/adventofcode.py index 08b07e83..a9e72805 100644 --- a/bot/seasons/christmas/adventofcode.py +++ b/bot/seasons/christmas/adventofcode.py @@ -14,6 +14,7 @@ from discord.ext import commands from pytz import timezone from bot.constants import AdventOfCode as AocConfig, Channels, Colours, Emojis, Tokens +from bot.decorators import override_in_channel log = logging.getLogger(__name__) @@ -125,6 +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 async def adventofcode_group(self, ctx: commands.Context): """All of the Advent of Code commands.""" await ctx.send_help(ctx.command) |