aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2018-12-10 16:12:01 -0500
committerGravatar sco1 <[email protected]>2018-12-10 16:12:01 -0500
commit8c3b8d8d270026591053cbf3a31013dd8e69080e (patch)
tree43ed5c12077e7ce34c01a7240eecf6c7609c548b /bot/constants.py
parentMerge pull request #88 from scragly/si_2 (diff)
Update static files for new code functionality
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 b57eb714..917b82af 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))