Skip to content

Commit 3853868

Browse files
Ow0castmeatharvester
authored andcommitted
fix(harmful command): check irc bridge messages too
1 parent 845e652 commit 3853868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tux/handlers/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def handle_harmful_message(message: discord.Message) -> None:
3636
None
3737
"""
3838

39-
if message.author.bot:
39+
if message.author.bot and message.webhook_id not in CONFIG.BRIDGE_WEBHOOK_IDS:
4040
return
4141

4242
stripped_content = strip_formatting(message.content)

0 commit comments

Comments
 (0)