diff options
author | 2019-10-28 02:55:43 +0800 | |
---|---|---|
committer | 2019-10-28 02:55:43 +0800 | |
commit | af0e5329a5202c52cd94f86078c4a03119f7e324 (patch) | |
tree | d2b2a4cb0117842b0cf8e312c15b4dbac6555deb | |
parent | Remove dev-test limit for filtering debugging (diff) |
Revert "Remove dev-test limit for filtering debugging"
This reverts commit 56696b3b1858ad27dc7f3dce2898c7a6eb151f43.
-rw-r--r-- | bot/cogs/filtering.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py index 11c5d7223..1d1d74e74 100644 --- a/bot/cogs/filtering.py +++ b/bot/cogs/filtering.py @@ -136,9 +136,9 @@ class Filtering(Cog): and not msg.author.bot # Author not a bot ) - # If we're running the bot locally, ignore role whitelist + # If we're running the bot locally, ignore role whitelist and only listen to #dev-test if DEBUG_MODE: - filter_message = not msg.author.bot + filter_message = not msg.author.bot and msg.channel.id == Channels.devtest # If none of the above, we can start filtering. if filter_message: |