From d8da6a8da1b42deb2fcc8b6defa053173c3cabb5 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 10 Jan 2023 16:27:06 -0500 Subject: [PATCH] Update AutoModTrigger.regex_pattern documentation --- discord/automod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/automod.py b/discord/automod.py index 14b4d071e..c90e80389 100644 --- a/discord/automod.py +++ b/discord/automod.py @@ -145,7 +145,7 @@ class AutoModTrigger: regex_patterns: List[:class:`str`] The regex pattern that will trigger the filter. The syntax is based off of `Rust's regex syntax `_. - Maximum of 10. Regex strings can only be up to 75 characters in length. + Maximum of 10. Regex strings can only be up to 250 characters in length. This could be combined with :attr:`keyword_filter` and/or :attr:`allow_list`