Propogate fix to message delete
This commit is contained in:
parent
39366648c3
commit
854689f5ce
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue