From 325074c2b4928ef52bf34490e153dc254fef700b Mon Sep 17 00:00:00 2001 From: Joseph Date: Sun, 2 Dec 2018 05:38:53 +0000 Subject: AoC countdown (#81) * Add countdown status and notifications * Remove debug print * flake8 my ass * Import order fixes * while is_in_advent() instead of while True * 2 * 60 => 120 * while is_in_advent() instead of while True in notifier --- bot/constants.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index 6020f1c1..1294912a 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -87,6 +87,8 @@ class AdventOfCode: leaderboard_join_code = "363275-442b6939" leaderboard_max_displayed_members = 10 year = 2018 + channel_id = int(environ.get("AOC_CHANNEL_ID", 517745814039166986)) + role_id = int(environ.get("AOC_ROLE_ID", 518565788744024082)) bot = SeasonalBot(command_prefix=Client.prefix) -- cgit v1.2.3