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

Properties

optional
keyword_filter: string[]

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

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)