interface CreateAutoModerationRuleOptions
implements WithReason
import { type CreateAutoModerationRuleOptions } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";
Properties
triggerMetadata: { keywordFilter?: string[]; presets?: DiscordAutoModerationRuleTriggerMetadataPresets[]; allowList?: string[]; mentionTotalLimit?: number; }
The metadata to use for the trigger.
actions: { type: AutoModerationActionType; metadata?: { channelId?: BigString; durationSeconds?: number; }; }[]
The actions that will trigger for this rule