diff options
| author | 2022-01-01 14:24:24 +0000 | |
|---|---|---|
| committer | 2022-01-01 14:42:19 +0000 | |
| commit | 8907a96b6a2a26ab8885cd5dd7bec0874f419e3e (patch) | |
| tree | 28934e2796cbb3ddd6dae5daeffa557d60e3f4f1 /bot/exts | |
| parent | Merge pull request #994 from python-discord/logging-in-AoC-completer-task (diff) | |
Allow AoC commands to be run in January
Diffstat (limited to 'bot/exts')
| -rw-r--r-- | bot/exts/events/advent_of_code/_cog.py | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/bot/exts/events/advent_of_code/_cog.py b/bot/exts/events/advent_of_code/_cog.py index c597fd0e..493d58b2 100644 --- a/bot/exts/events/advent_of_code/_cog.py +++ b/bot/exts/events/advent_of_code/_cog.py @@ -254,7 +254,7 @@ class AdventOfCode(commands.Cog):          else:              await ctx.message.add_reaction(Emojis.envelope) -    @in_month(Month.NOVEMBER, Month.DECEMBER) +    @in_month(Month.NOVEMBER, Month.DECEMBER, Month.JANUARY)      @adventofcode_group.command(          name="link",          aliases=("connect",), @@ -306,7 +306,7 @@ class AdventOfCode(commands.Cog):                      " Please re-run the command with one specified."                  ) -    @in_month(Month.NOVEMBER, Month.DECEMBER) +    @in_month(Month.NOVEMBER, Month.DECEMBER, Month.JANUARY)      @adventofcode_group.command(          name="unlink",          aliases=("disconnect",), @@ -327,7 +327,7 @@ class AdventOfCode(commands.Cog):              log.info(f"Attempted to unlink {ctx.author} ({ctx.author.id}), but no link was found.")              await ctx.reply("You don't have an Advent of Code account linked.") -    @in_month(Month.DECEMBER) +    @in_month(Month.DECEMBER, Month.JANUARY)      @adventofcode_group.command(          name="dayandstar",          aliases=("daynstar", "daystar"), @@ -365,7 +365,7 @@ class AdventOfCode(commands.Cog):          await view.wait()          await message.edit(view=None) -    @in_month(Month.DECEMBER) +    @in_month(Month.DECEMBER, Month.JANUARY)      @adventofcode_group.command(          name="leaderboard",          aliases=("board", "lb"), @@ -410,7 +410,7 @@ class AdventOfCode(commands.Cog):          await ctx.send(content=f"{header}\n\n{table}", embed=info_embed)          return -    @in_month(Month.DECEMBER) +    @in_month(Month.DECEMBER, Month.JANUARY)      @adventofcode_group.command(          name="global",          aliases=("globalboard", "gb"),  |