diff options
| author | 2019-05-13 12:17:29 +0100 | |
|---|---|---|
| committer | 2019-05-13 12:17:29 +0100 | |
| commit | 6601f367593d2654f48cc12a5fd8c337a487d877 (patch) | |
| tree | 4ec2cf46f9674c231264fd462057cce45035bca9 /bot/seasons/easter/egg_hunt/constants.py | |
| parent | Removed unused import. (diff) | |
| parent | Spooky 8 Ball (#189) (diff) | |
Merge pull request #2 from python-discord/master
Get up to date.
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) |