Skip to content

Commit

Permalink
fix: last minute hint time change
Browse files Browse the repository at this point in the history
  • Loading branch information
eluric committed Mar 15, 2024
1 parent f3460be commit a95b08c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/context/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def remove_member_from_team(guild: discord.Guild, member: discord.Member):

def get_max_hints():
now = datetime.now(tz=ZoneInfo("Australia/Sydney"))
start = config["HUNT_START_TIME"]
start = config["HUNT_START_TIME"] + timedelta(hours=1)

if now < start:
return 0
Expand Down Expand Up @@ -117,7 +117,7 @@ async def check_if_max_hints(team_name: str):

def get_next_hint_time() -> str:
now = datetime.now(tz=ZoneInfo("Australia/Sydney"))
start = config["HUNT_START_TIME"]
start = config["HUNT_START_TIME"] + timedelta(hours=1)

if now < start:
return "10:15 16th of March"
Expand Down

0 comments on commit a95b08c

Please sign in to comment.