diff options
| author | 2019-05-11 04:51:30 +1000 | |
|---|---|---|
| committer | 2019-05-11 04:51:30 +1000 | |
| commit | 0e2c6a1b0daef5b569da7652801b5725bf1ed95b (patch) | |
| tree | c3d57e50f2ba07cb2d9e7476d3b9441c1f671bd9 /bot/seasons/easter/egg_hunt/constants.py | |
| parent | not importing aiohttp now (diff) | |
| parent | Merge pull request #198 from Suhail6inkling/constants_fix (diff) | |
Merge branch 'master' into hanukkah_embed_iceman
Diffstat (limited to 'bot/seasons/easter/egg_hunt/constants.py')
| -rw-r--r-- | bot/seasons/easter/egg_hunt/constants.py | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/bot/seasons/easter/egg_hunt/constants.py b/bot/seasons/easter/egg_hunt/constants.py new file mode 100644 index 00000000..c7d9818b --- /dev/null +++ b/bot/seasons/easter/egg_hunt/constants.py @@ -0,0 +1,39 @@ +import os + +from discord import Colour + +from bot.constants import Channels, Client, bot + + +GUILD = bot.get_guild(Client.guild) + + +class EggHuntSettings: + start_time = int(os.environ["HUNT_START"]) + end_time = start_time + 172800 # 48 hrs later + windows = [int(w) for w in os.environ.get("HUNT_WINDOWS").split(',')] or [] + allowed_channels = [ + Channels.seasonalbot_chat, + Channels.off_topic_0, + Channels.off_topic_1, + Channels.off_topic_2, + ] + + +class Roles: + white = GUILD.get_role(569304397054607363) + blurple = GUILD.get_role(569304472820514816) + + +class Emoji: + egg_white = bot.get_emoji(569266762428841989) + egg_blurple = bot.get_emoji(569266666094067819) + egg_gold = bot.get_emoji(569266900106739712) + egg_diamond = bot.get_emoji(569266839738384384) + + +class Colours: + white = Colour(0xFFFFFF) + blurple = Colour(0x7289DA) + gold = Colour(0xE4E415) + diamond = Colour(0xECF5FF) |