AutoModerationTriggerMetadata
typedef · Source
Additional data used to determine whether an auto moderation rule should be triggered. Type: Object
Properties
keywordFilter
keywordFilter: Array<string>
The substrings that will be searched for in the content
regexPatterns
regexPatterns: Array<string>
The regular expression patterns which will be matched against the content Only Rust-flavored regular expressions are supported.
presets
presets: Array<AutoModerationRuleKeywordPresetType>
The internally pre-defined wordsets which will be searched for in the content
allowList
allowList: Array<string>
The substrings that will be exempt from triggering AutoModerationRuleTriggerType.KEYWORD and AutoModerationRuleTriggerType.KEYWORD_PRESET
mentionTotalLimit
nullable
mentionTotalLimit: number
The total number of role & user mentions allowed per message
mentionRaidProtectionEnabled
mentionRaidProtectionEnabled: boolean
Whether mention raid protection is enabled