aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/easter/egg_hunt/constants.py
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-04-22 02:20:51 +1000
committerGravatar GitHub <[email protected]>2019-04-22 02:20:51 +1000
commitd04d7be1f2030e10d4de7f37af3f14f0909e5ed9 (patch)
treebeffcfb92a9632c63ff3ca45ac10432ed8f0888d /bot/seasons/easter/egg_hunt/constants.py
parentMerge pull request #195 from python-discord/egg_hunt (diff)
parentchange 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.py2
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,