aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-12-04 17:50:08 +0100
committerGravatar GitHub <[email protected]>2019-12-04 17:50:08 +0100
commit54cae73ab735de9f06169bb29e668b7732e6d184 (patch)
treef21aaa356a6dca4545f69e7ca95baa617f9afaa1 /bot/constants.py
parentMerge pull request #305 from python-discord/exclude-draft-prs (diff)
parentUnlock AoC role to make announcements actually ping the users (diff)
Merge pull request #328 from python-discord/aoc-announcement-mention-fix
Make the daily Advent of Code subscription service actually ping subscribers
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 c09d8369..ce650b80 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -23,7 +23,7 @@ class AdventOfCode:
class Channels(NamedTuple):
admins = 365960823622991872
- advent_of_code = 517745814039166986
+ advent_of_code = int(environ.get("AOC_CHANNEL_ID", 517745814039166986))
announcements = int(environ.get("CHANNEL_ANNOUNCEMENTS", 354619224620138496))
big_brother_logs = 468507907357409333
bot = 267659945086812160