diff options
Diffstat (limited to '')
| -rw-r--r-- | bot/constants.py | 2 | ||||
| -rw-r--r-- | bot/resources/advent_of_code/about.json | 2 | 
2 files changed, 2 insertions, 2 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)) diff --git a/bot/resources/advent_of_code/about.json b/bot/resources/advent_of_code/about.json index 3fe6fcc9..4abf9145 100644 --- a/bot/resources/advent_of_code/about.json +++ b/bot/resources/advent_of_code/about.json @@ -21,7 +21,7 @@      },      {          "name": "Join our private leaderboard!", -        "value": "In addition to the global leaderboard, AoC also offers private leaderboards, where you can compete against a smaller group of friends!\n\nHead over to AoC's [private leaderboard page](https://adventofcode.com/leaderboard/private) and enter code `363275-442b6939` to join the PyDis private leaderboard!", +        "value": "In addition to the global leaderboard, AoC also offers private leaderboards, where you can compete against a smaller group of friends!\n\nGet the join code using `.aoc join` and head over to AoC's [private leaderboard page](https://adventofcode.com/leaderboard/private) to join the PyDis private leaderboard!",          "inline": false      }  ]
\ No newline at end of file | 
