aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/clean.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/cogs/clean.py b/bot/cogs/clean.py
index 85c9ec781..da0a5a9f2 100644
--- a/bot/cogs/clean.py
+++ b/bot/cogs/clean.py
@@ -169,6 +169,7 @@ class Clean:
# Always start by deleting the invocation
if not invocation_deleted:
+ self.mod_log.ignore_message_deletion(message.id)
await message.delete()
invocation_deleted = True
continue