aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/rules/duplicates.py1
-rw-r--r--config-default.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/bot/rules/duplicates.py b/bot/rules/duplicates.py
index 455764b53..8e4fbc12d 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
)
)
diff --git a/config-default.yml b/config-default.yml
index 25bbcc3c5..beaf89f2c 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -371,7 +371,7 @@ anti_spam:
rules:
attachments:
interval: 10
- max: 9
+ max: 6
burst:
interval: 10