From c1806dffcfdf45ea81d50acce23dafc5c0ae7028 Mon Sep 17 00:00:00 2001 From: zevaryx Date: Sat, 17 Sep 2022 23:57:42 +0000 Subject: [PATCH] Propogate fix to message delete --- jarvis/client/events/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/client/events/message.py b/jarvis/client/events/message.py index 477ba60..7fa5a9b 100644 --- a/jarvis/client/events/message.py +++ b/jarvis/client/events/message.py @@ -370,7 +370,7 @@ class MessageEventMixin: message = event.message modlog = await Setting.find_one(q(guild=message.guild.id, setting="activitylog")) ignore = await Setting.find_one(q(guild=message.guild.id, setting="log_ignore")) - if modlog and (ignore and message.channel.id not in ignore.value): + if modlog and (not ignore or (ignore and message.channel.id not in ignore.value)): try: content = message.content or "N/A" except AttributeError: