AutoModerationTriggerMetadata

export interface AutoModerationTriggerMetadata
export interface AutoModerationTriggerMetadata
Additional data used to determine whether an auto moderation rule should be triggered.
allowList:string[]
The substrings that will be exempt from triggering and
keywordFilter: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:string[]
The regular expression patterns which will be matched against the content Only Rust-flavored regular expressions are supported.