aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-27 19:14:27 +0200
committerGravatar GitHub <[email protected]>2020-11-27 19:14:27 +0200
commitffa3619a19515c147013669339f51d36f83a5f29 (patch)
tree707d5fab0893dec8e20bfb69f5ebbf7a8cd703af /bot/constants.py
parentUse default 0 for score and reverse leaderboard members (diff)
Fix adventofcode extension (and constants) grammar
Co-authored-by: Joe Banks <[email protected]>
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index bbfe7c3f..d24551f6 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -33,7 +33,7 @@ class AdventOfCode:
leaderboard_cache_age_threshold_seconds = 3600
leaderboard_public_ids = [645282]
leaderboard_staff_id = 957532
- # Public join codes in environment must be in same order than in AdventOfCode.leaderboard_public_ids
+ # Public join codes in environment must be in the same order as AdventOfCode.leaderboard_public_ids
leaderboard_public_join_codes = environ.get("AOC_PUBLIC_JOIN_CODES", "").split(",")
leaderboard_staff_join_code = environ.get("AOC_STAFF_JOIN_CODE", "")
leaderboard_max_displayed_members = 10
@@ -204,7 +204,7 @@ class Roles(NamedTuple):
class Tokens(NamedTuple):
giphy = environ.get("GIPHY_TOKEN")
- # Public AoC cookies in environment must be in same order than in AdventOfCode.leaderboard_public_ids
+ # Public AoC cookies in environment must be in the same order as AdventOfCode.leaderboard_public_ids
aoc_public_session_cookies = environ.get("AOC_PUBLIC_SESSION_COOKIES", "").split(",")
aoc_staff_session_cookie = environ.get("AOC_STAFF_SESSION_COOKIE")
omdb = environ.get("OMDB_API_KEY")