diff options
| author | 2019-04-21 20:03:00 +1000 | |
|---|---|---|
| committer | 2019-04-21 20:03:00 +1000 | |
| commit | 079d107c35ef11a3d55ff9a88aa8e5dc34f99dbb (patch) | |
| tree | ed8064ed37dffee4bd215c070ca24e27f0821311 /bot/seasons/easter/egg_hunt/constants.py | |
| parent | Make team assignment deterministic for event distribution. (diff) | |
Ensure super egg drops.
Diffstat (limited to 'bot/seasons/easter/egg_hunt/constants.py')
| -rw-r--r-- | bot/seasons/easter/egg_hunt/constants.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/easter/egg_hunt/constants.py b/bot/seasons/easter/egg_hunt/constants.py index 3f3c3bbe..c7d9818b 100644 --- a/bot/seasons/easter/egg_hunt/constants.py +++ b/bot/seasons/easter/egg_hunt/constants.py @@ -11,7 +11,7 @@ GUILD = bot.get_guild(Client.guild) class EggHuntSettings: start_time = int(os.environ["HUNT_START"]) end_time = start_time + 172800 # 48 hrs later - windows = os.environ.get("HUNT_WINDOWS").split(',') or [] + windows = [int(w) for w in os.environ.get("HUNT_WINDOWS").split(',')] or [] allowed_channels = [ Channels.seasonalbot_chat, Channels.off_topic_0, |