From fae86078206eb5726c606636aaa6a0ba315f5b73 Mon Sep 17 00:00:00 2001 From: Akarys42 Date: Wed, 23 Oct 2019 11:04:26 +0200 Subject: Use standart filter conditions even if DEBUG_MODE is on. The old method filtered only in #dev-test but this channel no longer exists --- bot/cogs/filtering.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py index 1d1d74e74..fda58b83a 100644 --- a/bot/cogs/filtering.py +++ b/bot/cogs/filtering.py @@ -9,7 +9,7 @@ from discord.ext.commands import Bot, Cog from bot.cogs.moderation import ModLog from bot.constants import ( - Channels, Colours, DEBUG_MODE, + Channels, Colours, Filter, Icons, URLs ) @@ -136,10 +136,6 @@ 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 DEBUG_MODE: - filter_message = not msg.author.bot and msg.channel.id == Channels.devtest - # If none of the above, we can start filtering. if filter_message: for filter_name, _filter in self.filters.items(): -- cgit v1.2.3