APIAutoModerationRuleTriggerMetadata
Index
Properties
allow_list
Substrings which will be exempt from triggering the preset trigger type
A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. See keyword matching strategies
Associated trigger type: AutoModerationRuleTriggerType.KeywordPreset
optionalkeyword_filter
Substrings which will be searched for in content
A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. See keyword matching strategies
Associated trigger type: AutoModerationRuleTriggerType.Keyword
optionalmention_total_limit
Total number of mentions (role & user) allowed per message (Maximum of 50)
Associated trigger type: AutoModerationRuleTriggerType.MentionSpam
optionalpresets
The internally pre-defined wordsets which will be searched for in content
Associated trigger type: AutoModerationRuleTriggerType.KeywordPreset
https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-trigger-metadata