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