From 854689f5ced336d6f7cbb51ca2c22b3b65cccaa6 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 f9e9f10..5a5167c 100644 --- a/jarvis/client/events/message.py +++ b/jarvis/client/events/message.py @@ -450,7 +450,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: