aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/rules/duplicates.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/rules/duplicates.py b/bot/rules/duplicates.py
index 455764b53..23aefd3dc 100644
--- a/bot/rules/duplicates.py
+++ b/bot/rules/duplicates.py
@@ -13,6 +13,7 @@ async def apply(
if (
msg.author == last_message.author
and msg.content == last_message.content
+ and (msg.content and not msg.attachments)
)
)