diff options
| author | 2019-04-22 02:20:51 +1000 | |
|---|---|---|
| committer | 2019-04-22 02:20:51 +1000 | |
| commit | d04d7be1f2030e10d4de7f37af3f14f0909e5ed9 (patch) | |
| tree | beffcfb92a9632c63ff3ca45ac10432ed8f0888d /bot/seasons/easter/egg_hunt/constants.py | |
| parent | Merge pull request #195 from python-discord/egg_hunt (diff) | |
| parent | change counter to minute (diff) | |
Merge pull request #196 from python-discord/hunt-fix
Egg Hunt Fixes
Co-authored-by: Leon Sandøy <[email protected]>
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, |