Latest
interface DiscordAutoModerationActionExecution
import { type DiscordAutoModerationActionExecution } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Properties

guild_id: string

The id of the guild

rule_id: string

The id of the rule that was executed

user_id: string

The id of the user which generated the content which triggered the rule

content: string

The content from the user

Action which was executed

rule_trigger_type: AutoModerationTriggerTypes

The trigger type of the rule that was executed.

optional
channel_id: string | null

The id of the channel in which user content was posted

optional
message_id: string | null

The id of the message. Will not exist if message was blocked by automod or content was not part of any message

optional
alert_system_message_id: string | null

The id of any system auto moderation messages posted as a result of this action

matched_keyword: string | null

The word or phrase that triggerred the rule.

matched_content: string | null

The substring in content that triggered the rule

import DiscordAutoModerationActionExecution
import { DiscordAutoModerationActionExecution } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";