diff options
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/constants.py | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index bf6c5a40..4a97b9e0 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -17,6 +17,7 @@ __all__ = (      "Month",      "Roles",      "Tokens", +    "Wolfram",      "MODERATION_ROLES",      "STAFF_ROLES",      "WHITELISTED_CHANNELS", @@ -96,6 +97,7 @@ class Colours:      soft_red = 0xcd6d6d      yellow = 0xf9f586      purple = 0xb734eb +    soft_orange = 0xf9cb54  class Emojis: @@ -187,6 +189,12 @@ class Tokens(NamedTuple):      github = environ.get("GITHUB_TOKEN") +class Wolfram(NamedTuple): +    user_limit_day = environ.get("WOLFRAM_USER_LIMIT_DAY", 10) +    guild_limit_day = environ.get("WOLFRAM_GUILD_LIMIT_DAY", 67) +    key = environ.get("WOLFRAM_API_KEY", None) + +  # Default role combinations  MODERATION_ROLES = Roles.moderator, Roles.admin, Roles.owner  STAFF_ROLES = Roles.helpers, Roles.moderator, Roles.admin, Roles.owner  |