Interface TriggerMetadata

Hierarchy

  • TriggerMetadata

Properties

allowList?: string[]

The keywords to allow. Valid for KEYWORD & KEYWORD_PRESET.

keywordFilter?: string[]

The keywords to filter. Valid for KEYWORD.

mentionRaidProtectionEnabled?: boolean

Whether to enable mention raid protection. Valid for MENTION_SPAM.

mentionTotalLimit?: number

The maximum number of mentions to allow. Valid for MENTION_SPAM.

The presets to use. Valid for KEYWORD_PRESET.

regexPatterns?: string[]

The regular expressions to match the content against and filter. Currently only Rust flavored regex such as Rustexp are supported. Valid for KEYWORD.