Nickname Filter Also Catches Webhooks
The nickname filtering introduced by #964 also matches on webhooks, causing false positives. Posts from webhooks should be ignored.
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py
index 4ec95ad7..93cc1c65 100644
--- a/bot/cogs/filtering.py
+++ b/bot/cogs/filtering.py
@@ -124,7 +124,10 @@ class Filtering(Cog):
     async def on_message(self, msg: Message) -> None:
         """Invoke message filter for new messages."""
         await self._filter_message(msg)
-        await self.check_bad_words_in_name(msg.author)
+
+        # Ignore webhook messages.
+        if msg.webhook_id is None:
+            await self.check_bad_words_in_name(msg.author)
 
     @Cog.listener()
     async def on_message_edit(self, before: Message, after: Message) -> None:
['bot/cogs/filtering.py']