aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-03-08 19:39:09 +0100
committerGravatar Matteo Bertucci <[email protected]>2021-03-08 19:39:09 +0100
commite6e12c3d3b8a9233cdd92c380c720aa461ab4565 (patch)
tree8c62cdd97fa7efb9a025aabd6324763ea72a98cf
parentProperly rename countdown_task -> notification_task (diff)
Restrict the aoc leaderboard commands to december
-rw-r--r--bot/exts/christmas/advent_of_code/_cog.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/exts/christmas/advent_of_code/_cog.py b/bot/exts/christmas/advent_of_code/_cog.py
index 2203bf00..c86ce18a 100644
--- a/bot/exts/christmas/advent_of_code/_cog.py
+++ b/bot/exts/christmas/advent_of_code/_cog.py
@@ -173,6 +173,7 @@ class AdventOfCode(commands.Cog):
else:
await ctx.message.add_reaction(Emojis.envelope)
+ @in_month(Month.DECEMBER)
@adventofcode_group.command(
name="leaderboard",
aliases=("board", "lb"),
@@ -198,6 +199,7 @@ class AdventOfCode(commands.Cog):
await ctx.send(content=f"{header}\n\n{table}", embed=info_embed)
+ @in_month(Month.DECEMBER)
@adventofcode_group.command(
name="global",
aliases=("globalboard", "gb"),