aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-06-19 11:34:11 +0200
committerGravatar GitHub <[email protected]>2021-06-19 11:34:11 +0200
commitd4daa9cc96d75271aecf7886aeb4fb3947f69994 (patch)
tree190c93c0b9f0be0f048809a72641399a590993de
parentMerge pull request #1647 from python-discord/mbaruh-patch-1 (diff)
Filters: up character limit to 4,200
Since Discord Nitro now unlock a 4,000 character limit, some of our code broke, including our filters which limit you to only post up to 3,000 character in 10s. This limit has been upped to 4,200. I added 200 characters so if a full length message is sent with another small comment it wouldn't trigger the filter. I can think of some past instances where that would have happened.
-rw-r--r--config-default.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-default.yml b/config-default.yml
index 863a4535e..f4fdc7606 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -398,7 +398,7 @@ anti_spam:
chars:
interval: 5
- max: 3_000
+ max: 4_200
discord_emojis:
interval: 10