diff options
| author | 2020-11-30 01:18:40 +0100 | |
|---|---|---|
| committer | 2020-11-30 01:18:40 +0100 | |
| commit | b13667cfc261ec43daad6fd592d5b952f73997fe (patch) | |
| tree | 1c8011bb630186bae25879db3520099ad7774b68 | |
| parent | Remove redundant _error_embed_helper function (diff) | |
Remove now redundant advent_of_code_staff constant
We're no longer going to use a two-channel setup for this event, as we
don't want to split the event community into two, staff and non-staff.
| -rw-r--r-- | bot/constants.py | 1 | ||||
| -rw-r--r-- | bot/exts/christmas/advent_of_code/_cog.py | 2 | 
2 files changed, 1 insertions, 2 deletions
| diff --git a/bot/constants.py b/bot/constants.py index fc9929ec..e459ed21 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -76,7 +76,6 @@ class Branding:  class Channels(NamedTuple):      admins = 365960823622991872      advent_of_code = int(environ.get("AOC_CHANNEL_ID", 780818162836439041)) -    advent_of_code_staff = int(environ.get("AOC_STAFF_CHANNEL_ID", 778646502641500181))      announcements = int(environ.get("CHANNEL_ANNOUNCEMENTS", 354619224620138496))      big_brother_logs = 468507907357409333      bot = 267659945086812160 diff --git a/bot/exts/christmas/advent_of_code/_cog.py b/bot/exts/christmas/advent_of_code/_cog.py index 1a6715bb..388d0592 100644 --- a/bot/exts/christmas/advent_of_code/_cog.py +++ b/bot/exts/christmas/advent_of_code/_cog.py @@ -24,7 +24,7 @@ AOC_REQUEST_HEADER = {"user-agent": "PythonDiscord AoC Event Bot"}  EST = timezone("EST")  COUNTDOWN_STEP = 60 * 5 -AOC_WHITELIST = WHITELISTED_CHANNELS + (Channels.advent_of_code, Channels.advent_of_code_staff) +AOC_WHITELIST = WHITELISTED_CHANNELS + (Channels.advent_of_code,)  def is_in_advent() -> bool: | 
