aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2020-08-29 16:58:11 -0700
committerGravatar Xithrius <[email protected]>2020-08-29 16:58:11 -0700
commit2f1b550f1974fe5fb56e56042c3ebf51375dcf50 (patch)
tree817dbd467233a8bdacfe6f36837434b1a8e4b730
parentReverted the SeasonalBot commands channel. (diff)
Removed None from environ.get() in Wolfram NamedTuple to keep consistency throughout constants.py
-rw-r--r--bot/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py
index a436f17d..295bb90b 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -192,7 +192,7 @@ class Tokens(NamedTuple):
class Wolfram(NamedTuple):
user_limit_day = int(environ.get("WOLFRAM_USER_LIMIT_DAY", 10))
guild_limit_day = int(environ.get("WOLFRAM_GUILD_LIMIT_DAY", 67))
- key = environ.get("WOLFRAM_API_KEY", None)
+ key = environ.get("WOLFRAM_API_KEY")
# Default role combinations