AutoModerationTriggerMetadata

export interface AutoModerationTriggerMetadata
export interface AutoModerationTriggerMetadata
Additional data used to determine whether an auto moderation rule should be triggered.
keywordFilter:readonly string[]
The substrings that will be searched for in the content
mentionRaidProtectionEnabled:boolean
Whether mention raid protection is enabled
mentionTotalLimit:number | null
The total number of role & user mentions allowed per message
The internally pre-defined wordsets which will be searched for in the content
regexPatterns:readonly string[]
The regular expression patterns which will be matched against the content Only Rust-flavored regular expressions are supported.