Extremely Popular
Go to Latest
interface DiscordAutoModerationRuleTriggerMetadata
import { type DiscordAutoModerationRuleTriggerMetadata } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/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)