mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-25 18:43:00 +00:00 
			
		
		
		
	Change max values in AutoModTrigger attributes docs
This commit is contained in:
		| @@ -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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user