Skip to main content
Latest
interface DiscordAutoModerationActionExecution
Re-export
import { type DiscordAutoModerationActionExecution } from "https://deno.land/x/discordeno@18.0.1/mod.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: DiscordAutoModerationAction

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