aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-02-20 11:54:52 +0200
committerGravatar GitHub <[email protected]>2021-02-20 11:54:52 +0200
commit0f4365e2430d40f17ab9a545d3e8614a4b3a9669 (patch)
treea6d195c7e307cbb5548a3a7adc3cad73da4951cd
parentLower max attachments per 10 seconds to 3 (diff)
Remove attachments check in duplicates filter
-rw-r--r--bot/rules/duplicates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/rules/duplicates.py b/bot/rules/duplicates.py
index 23aefd3dc..8e4fbc12d 100644
--- a/bot/rules/duplicates.py
+++ b/bot/rules/duplicates.py
@@ -13,7 +13,7 @@ async def apply(
if (
msg.author == last_message.author
and msg.content == last_message.content
- and (msg.content and not msg.attachments)
+ and msg.content
)
)