diff options
author | 2020-12-02 09:28:32 -0500 | |
---|---|---|
committer | 2020-12-11 22:08:18 -0500 | |
commit | d884c21e8ae2bd82370b11621230d7172cb098a3 (patch) | |
tree | 067eceeab232010f63e7e58071ee3e84d0d400a2 /bot/constants.py | |
parent | Merge pull request #540 from RohanJnr/error_handler_changes (diff) |
Disallow .aoc commands in primary aoc channel
Commands like `.aoc leaderboard` and `.aoc stats` proved to be spammy
in the main advent of code channel.
An aoc_commands channel has been added for aoc commands
and this update prohibits aoc commands from being used in the primary
aoc channel and adds the comands channel to the whitelist.
This also specifically allows the less spammier commands: join,
subscribe, unsubscribe, and countdown in the primary channel to foster
discussion though.
Diffstat (limited to 'bot/constants.py')
-rw-r--r-- | bot/constants.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index 9e6db7a6..5dc42462 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -95,6 +95,7 @@ class Branding: class Channels(NamedTuple): admins = 365960823622991872 advent_of_code = int(environ.get("AOC_CHANNEL_ID", 782715290437943306)) + advent_of_code_commands = int(environ.get("AOC_COMMANDS_CHANNEL_ID", 783503267849437205)) announcements = int(environ.get("CHANNEL_ANNOUNCEMENTS", 354619224620138496)) big_brother_logs = 468507907357409333 bot = 267659945086812160 |