aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/seasons/christmas/adventofcode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/christmas/adventofcode.py b/bot/seasons/christmas/adventofcode.py
index 486d3b18..3b199a4a 100644
--- a/bot/seasons/christmas/adventofcode.py
+++ b/bot/seasons/christmas/adventofcode.py
@@ -181,8 +181,8 @@ class AdventOfCode:
Return time left until next day
"""
if not is_in_advent():
- datetime_now = datetime.datetime.now(EST)
- december_first = datetime.datetime(datetime_now.year + 1, 12, 1, tzinfo=EST)
+ datetime_now = datetime.now(EST)
+ december_first = datetime(datetime_now.year + 1, 12, 1, tzinfo=EST)
delta = december_first - datetime_now
await ctx.send(f"The Advent of Code event is not currently running. "
f"The next event will start in {delta.days} days.")