Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface DiscordAutoModerationRuleTriggerMetadata
import { type DiscordAutoModerationRuleTriggerMetadata } from "https://deno.land/x/discordeno@17.2.0/plugins/validations/deps.ts";

Properties

optional
keyword_filter: string[]

The keywords needed to match. Only present when TriggerType.Keyword

optional
presets: DiscordAutoModerationRuleTriggerMetadataPresets[]

The pre-defined lists of words to match from. Only present when TriggerType.KeywordPreset

allow_list: string[]

The substrings which will exempt from triggering the preset trigger type. Only present when TriggerType.KeywordPreset

mention_total_limit: number

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