1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-16 02:39:01 +00:00

Change max values in AutoModTrigger attributes docs

This commit is contained in:
Puncher 2023-02-25 08:44:44 +01:00 committed by GitHub
parent 8f3224b70b
commit 29461ddb5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -139,13 +139,13 @@ class AutoModTrigger:
The type of trigger.
keyword_filter: List[:class:`str`]
The list of strings that will trigger the keyword filter. Maximum of 1000.
Keywords can only be up to 30 characters in length.
Keywords can only be up to 60 characters in length.
This could be combined with :attr:`regex_patterns`.
regex_patterns: List[:class:`str`]
The regex pattern that will trigger the filter. The syntax is based off of
`Rust's regex syntax <https://docs.rs/regex/latest/regex/#syntax>`_.
Maximum of 10. Regex strings can only be up to 250 characters in length.
Maximum of 10. Regex strings can only be up to 260 characters in length.
This could be combined with :attr:`keyword_filter` and/or :attr:`allow_list`
@ -153,7 +153,8 @@ class AutoModTrigger:
presets: :class:`AutoModPresets`
The presets used with the preset keyword filter.
allow_list: List[:class:`str`]
The list of words that are exempt from the commonly flagged words.
The list of words that are exempt from the commonly flagged words. Maximum of 100.
Keywords can only be up to 60 characters in length.
mention_limit: :class:`int`
The total number of user and role mentions a message can contain.
Has a maximum of 50.