diff options
author | 2021-01-31 05:13:35 +0530 | |
---|---|---|
committer | 2021-01-31 05:13:35 +0530 | |
commit | 45af7ff6803e75d70be8d78e232b3d30803ae65d (patch) | |
tree | 25621e61e5f45bc633e6a360e4228a65112fccb3 | |
parent | Fix PYTHON_DISCORD_REPOS format variable name and give it a better name (diff) |
Add mod_meta and mod_tools channels to whitelisted
-rw-r--r-- | bot/constants.py | 2 | ||||
-rw-r--r-- | bot/exts/evergreen/issues.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py index ce1ca29a..1234ef3b 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -116,6 +116,8 @@ class Channels(NamedTuple): message_log = 467752170159079424 mod_alerts = 473092532147060736 modlog = 282638479504965634 + mod_meta = 775412552795947058 + mod_tools = 775413915391098921 off_topic_0 = 291284109232308226 off_topic_1 = 463035241142026251 off_topic_2 = 463035268514185226 diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py index 72d88d04..f24e0717 100644 --- a/bot/exts/evergreen/issues.py +++ b/bot/exts/evergreen/issues.py @@ -26,7 +26,7 @@ if GITHUB_TOKEN := Tokens.github: WHITELISTED_CATEGORIES = ( Categories.devprojects, Categories.media, Categories.development ) -WHITELISTED_CHANNELS_ON_MESSAGE = (Channels.organisation,) +WHITELISTED_CHANNELS_ON_MESSAGE = (Channels.organisation, Channels.mod_meta, Channels.mod_tools) CODE_BLOCK_RE = re.compile( r"^`([^`\n]+)`" # Inline codeblock |