diff options
-rw-r--r-- | bot/seasons/christmas/adventofcode.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bot/seasons/christmas/adventofcode.py b/bot/seasons/christmas/adventofcode.py index f9ca9f01..af72466b 100644 --- a/bot/seasons/christmas/adventofcode.py +++ b/bot/seasons/christmas/adventofcode.py @@ -180,6 +180,10 @@ class AdventOfCode: """ Return time left until next day """ + if not is_in_advent(): + await ctx.send(f"Advent of Code is no longer running this year! Come back next year for more puzzles!") + return + tomorrow, time_left = time_left_to_aoc_midnight() hours, minutes = time_left.seconds // 3600, time_left.seconds // 60 % 60 |