aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-03-05 17:51:55 +0100
committerGravatar GitHub <[email protected]>2019-03-05 17:51:55 +0100
commit6bd2060c86ccf84f7ddb59c891c0669f784e18fd (patch)
tree4169497f62491f2ce6372ce737c04004af7157ea /bot/constants.py
parentMerge pull request #112 from RohanJnr/be-my-valentine-iceman (diff)
parentReview-directed reformatting (diff)
Merge pull request #91 from python-discord/join-code-dm
AoC Join Code Refactor
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))