aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-03-05 16:28:12 -0500
committerGravatar sco1 <[email protected]>2019-03-05 16:28:12 -0500
commit134cd0e84740b79caaa2c2ed3cb6a302153d7046 (patch)
tree4db58def7d12f8eab8ae2a7144741f8537a31dfc /bot/constants.py
parentAdd Cog inheritance to season loader (diff)
parentMerge pull request #129 from darthdelay/myvalenstate (diff)
Merge branch 'master' into dpy-cog-changes
Diffstat (limited to 'bot/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 cb191da9..0ffc9081 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -15,7 +15,7 @@ log = logging.getLogger(__name__)
class AdventOfCode:
leaderboard_cache_age_threshold_seconds = 3600
leaderboard_id = 363275
- leaderboard_join_code = "363275-442b6939"
+ leaderboard_join_code = str(environ.get("AOC_JOIN_CODE", None))
leaderboard_max_displayed_members = 10
year = 2018
channel_id = int(environ.get("AOC_CHANNEL_ID", 517745814039166986))