mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 18:59:09 +00:00
Change max values in AutoModTrigger attributes docs
This commit is contained in:
parent
8f3224b70b
commit
29461ddb5f
@ -139,13 +139,13 @@ class AutoModTrigger:
|
|||||||
The type of trigger.
|
The type of trigger.
|
||||||
keyword_filter: List[:class:`str`]
|
keyword_filter: List[:class:`str`]
|
||||||
The list of strings that will trigger the keyword filter. Maximum of 1000.
|
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`.
|
This could be combined with :attr:`regex_patterns`.
|
||||||
regex_patterns: List[:class:`str`]
|
regex_patterns: List[:class:`str`]
|
||||||
The regex pattern that will trigger the filter. The syntax is based off of
|
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>`_.
|
`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`
|
This could be combined with :attr:`keyword_filter` and/or :attr:`allow_list`
|
||||||
|
|
||||||
@ -153,7 +153,8 @@ class AutoModTrigger:
|
|||||||
presets: :class:`AutoModPresets`
|
presets: :class:`AutoModPresets`
|
||||||
The presets used with the preset keyword filter.
|
The presets used with the preset keyword filter.
|
||||||
allow_list: List[:class:`str`]
|
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`
|
mention_limit: :class:`int`
|
||||||
The total number of user and role mentions a message can contain.
|
The total number of user and role mentions a message can contain.
|
||||||
Has a maximum of 50.
|
Has a maximum of 50.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user