Interface TriggerMetadata

Hierarchy

  • TriggerMetadata

Properties

allowList?: string[]

The keywords to allow. Valid for KEYWORD, KEYWORD_PRESET & MEMBER_PROFILE. KEYWORD, MEMBER_PROFILE: Max 100 total, 60 characters each. KEYWORD_PRESET: Max 1000 total, 60 characters each.

keywordFilter?: string[]

The keywords to filter. Valid for KEYWORD & MEMBER_PROFILE. Max 1000 total, 60 characters each.

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& MEMBER_PROFILE. Max 10 total, 260 characters each.