aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/decorators.py
diff options
context:
space:
mode:
authorGravatar TizzySaurus <[email protected]>2022-02-20 11:24:51 +0000
committerGravatar GitHub <[email protected]>2022-02-20 11:24:51 +0000
commit436c9f740cc5002ff8199b57a6b7bc1a778d6b37 (patch)
tree75262960566ab049653ce70176b77b73c0e2fee2 /bot/utils/decorators.py
parentMerge pull request #1010 from ShakyaMajumdar/feat/latex (diff)
Allow `.src` in dev-contrib and community-meta (#1033)
Diffstat (limited to 'bot/utils/decorators.py')
-rw-r--r--bot/utils/decorators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/utils/decorators.py b/bot/utils/decorators.py
index 7a3b14ad..8954e016 100644
--- a/bot/utils/decorators.py
+++ b/bot/utils/decorators.py
@@ -257,10 +257,10 @@ def whitelist_check(**default_kwargs: Container[int]) -> Callable[[Context], boo
channels = set(kwargs.get("channels") or {})
categories = kwargs.get("categories")
- # Only output override channels + community_bot_commands
+ # Only output override channels + sir_lancebot_playground
if channels:
default_whitelist_channels = set(WHITELISTED_CHANNELS)
- default_whitelist_channels.discard(Channels.community_bot_commands)
+ default_whitelist_channels.discard(Channels.sir_lancebot_playground)
channels.difference_update(default_whitelist_channels)
# Add all whitelisted category channels, but skip if we're in DMs