From 17df6469a5154483b8bccd2cea08dfcd8a8be2a6 Mon Sep 17 00:00:00 2001 From: LX Date: Tue, 18 Apr 2023 23:14:51 +0100 Subject: Update filtering.py to remove trailing whitespace --- bot/exts/filtering/filtering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/filtering/filtering.py b/bot/exts/filtering/filtering.py index 9fb7605d6..52401f0c3 100644 --- a/bot/exts/filtering/filtering.py +++ b/bot/exts/filtering/filtering.py @@ -235,7 +235,7 @@ class Filtering(Cog): """Filter the contents of an edited message. Don't reinvoke filters already invoked on the `before` version.""" if before.author.bot or before.webhook_id or before.type == MessageType.auto_moderation_action: return - + # Only check changes to the message contents/attachments and embed additions, not pin status etc. if all(( before.content == after.content, # content hasn't changed -- cgit v1.2.3