aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/issues.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2021-02-28 14:57:50 -0800
committerGravatar GitHub <[email protected]>2021-02-28 14:57:50 -0800
commit05969b797d980ea7c01241f2058b613a03d60b62 (patch)
tree3289f808a565e1f605b93366e71df010664d5d53 /bot/exts/evergreen/issues.py
parentMerge pull request #560 from Shivansh-007/feature/connect_four (diff)
parentFix ordering of categories in issues cog (diff)
Merge pull request #604 from python-discord/Add-lancebot-to-staff-channels
Add issue cog to staff channels.
Diffstat (limited to '')
-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 73ebe547..bbcbf611 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