aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/filtering.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py
index f6a1e7b4d..9324314df 100644
--- a/bot/cogs/filtering.py
+++ b/bot/cogs/filtering.py
@@ -133,11 +133,8 @@ class Filtering:
)
# 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 DEBUG_MODE:
- filter_message = msg.author.id != 414020331980980234 and msg.channel.id == Channels.devtest
+ filter_message = not msg.author.bot and msg.channel.id == Channels.devtest
# If none of the above, we can start filtering.
if filter_message:
@@ -199,6 +196,7 @@ class Filtering:
ping_everyone=Filter.ping_everyone,
)
+ # If filtering rich embeds, also send the removed embeds to mod_alerts
if filter_name == "filter_rich_embeds":
await self.mod_log.send_log_embeds(
embeds=msg.embeds,