Skip to main content
Version: 0.37.14

APIAutoModerationRuleTriggerMetadata

Index

Properties

optionalallow_list

allow_list?: string[]

Substrings which will be exempt from triggering the preset trigger type (Maximum of 1000)

A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less See keyword matching strategies

Associated trigger type: AutoModerationRuleTriggerType.KeywordPreset

optionalkeyword_filter

keyword_filter?: string[]

Substrings which will be searched for in content (Maximum of 1000)

A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less See keyword matching strategies

Associated trigger type: AutoModerationRuleTriggerType.Keyword

optionalmention_total_limit

mention_total_limit?: number

Total number of mentions (role & user) allowed per message (Maximum of 50)

optionalpresets

The internally pre-defined wordsets which will be searched for in content