export interface AutoModerationTriggerMetadata
Additional data used to determine whether an auto moderation rule should be triggered.
readonly string[] allowList :
The substrings that will be exempt from triggering AutoModerationRuleTriggerType, AutoModerationRuleTriggerType, and AutoModerationRuleTriggerType
readonly string[] keywordFilter :
The substrings that will be searched for in the content
boolean mentionRaidProtectionEnabled :
Whether mention raid protection is enabled
readonly AutoModerationRuleKeywordPresetType[] presets :
The internally pre-defined wordsets which will be searched for in the content
readonly string[] regexPatterns :
The regular expression patterns which will be matched against the content Only Rust-flavored regular expressions are supported.