Discord.https - v3.0.16
    Preparing search index...

    Interface GatewayAutoModerationActionExecutionDispatchData

    interface GatewayAutoModerationActionExecutionDispatchData {
        action: APIAutoModerationAction;
        alert_system_message_id?: string;
        channel_id?: string;
        content: string;
        guild_id: string;
        matched_content: null | string;
        matched_keyword: null | string;
        message_id?: string;
        rule_id: string;
        rule_trigger_type: AutoModerationRuleTriggerType;
        user_id: string;
    }
    Index

    Properties

    The action which was executed

    alert_system_message_id?: string

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

    This field will not be present if this event does not correspond to an action with type AutoModerationActionType.SendAlertMessage

    channel_id?: string

    The id of the channel in which user content was posted

    content: string

    The user generated text content

    MESSAGE_CONTENT (1 << 15) gateway intent is required to receive non-empty values from this field

    guild_id: string

    The id of the guild in which action was executed

    matched_content: null | string

    The substring in content that triggered the rule

    MESSAGE_CONTENT (1 << 15) gateway intent is required to receive non-empty values from this field

    matched_keyword: null | string

    The word or phrase configured in the rule that triggered the rule

    message_id?: string

    The id of any user message which content belongs to

    This field will not be present if message was blocked by AutoMod or content was not part of any message

    rule_id: string

    The id of the rule which action belongs to

    The trigger type of rule which was triggered

    user_id: string

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