Skip to content

Commit

Permalink
fix data type
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Pro committed Dec 2, 2023
1 parent f68cf7e commit e713fba
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions bot/skills/aoc_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,14 @@


AOC_ENDPOINT = f"https://adventofcode.com/{datetime.utcnow().year}/leaderboard/private/view/458538.json"
AOC_START_TIME = (
datetime.utcnow()
.replace(
year=datetime.utcnow().year,
month=12,
day=1,
hour=5,
minute=0,
second=0,
microsecond=0,
)
.timestamp()
AOC_START_TIME = datetime.utcnow().replace(
year=datetime.utcnow().year,
month=12,
day=1,
hour=5,
minute=0,
second=0,
microsecond=0,
)
AOC_UPDATE_INTERVAL = timedelta(minutes=15)
JOB_AOC_UPDATE = "aoc_update_job"
Expand Down

0 comments on commit e713fba

Please sign in to comment.