From 56696b3b1858ad27dc7f3dce2898c7a6eb151f43 Mon Sep 17 00:00:00 2001 From: kosayoda Date: Sun, 27 Oct 2019 17:26:27 +0800 Subject: Remove dev-test limit for filtering debugging --- bot/cogs/filtering.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py index 1d1d74e74..11c5d7223 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 and only listen to #dev-test + # If we're running the bot locally, ignore role whitelist if DEBUG_MODE: - filter_message = not msg.author.bot and msg.channel.id == Channels.devtest + filter_message = not msg.author.bot # If none of the above, we can start filtering. if filter_message: -- cgit v1.2.3