aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/issues.py
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-03-19 15:19:23 +0100
committerGravatar GitHub <[email protected]>2021-03-19 15:19:23 +0100
commit25b2e4c8412cceffe1ec528a9894586599f5f25d (patch)
treee3387dc9441445184947c88b214406a3b4f9aaa7 /bot/exts/evergreen/issues.py
parentFirst pass of easy to produce errors (diff)
parentMerge pull request #631 from python-discord/dependabot/pip/pillow-8.1.1 (diff)
Merge branch 'main' into Handle-DMChannels
Diffstat (limited to 'bot/exts/evergreen/issues.py')
-rw-r--r--bot/exts/evergreen/issues.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py
index 1f22f287..d877ac00 100644
--- a/bot/exts/evergreen/issues.py
+++ b/bot/exts/evergreen/issues.py
@@ -24,9 +24,11 @@ if GITHUB_TOKEN := Tokens.github:
REQUEST_HEADERS["Authorization"] = f"token {GITHUB_TOKEN}"
WHITELISTED_CATEGORIES = (
- Categories.devprojects, Categories.media, Categories.development
+ Categories.development, Categories.devprojects, Categories.media, Categories.staff
+)
+WHITELISTED_CHANNELS_ON_MESSAGE = (
+ Channels.organisation, Channels.mod_meta, Channels.mod_tools, Channels.staff_voice
)
-WHITELISTED_CHANNELS_ON_MESSAGE = (Channels.organisation, Channels.mod_meta, Channels.mod_tools)
CODE_BLOCK_RE = re.compile(
r"^`([^`\n]+)`" # Inline codeblock