export interface GatewayAutoModerationActionExecutionDispatchDataSee also: https://discord.com/developers/docs/topics/gateway-events#auto-moderation-action-execution
externalaction : APIAutoModerationAction
The action which was executed
optionalexternalalert_system_message_id? : Snowflake
The id of any system auto moderation messages posted as a result of this actionThis field will not be present if this event does not correspond to an action with type SendAlertMessage
optionalexternalchannel_id? : Snowflake
The id of the channel in which user content was posted
externalcontent : string
The user generated text contentMESSAGE_CONTENT (1 << 15) gateway intent is required to receive non-empty values from this field
externalguild_id : Snowflake
The id of the guild in which action was executed
The substring in content that triggered the ruleMESSAGE_CONTENT (1 << 15) gateway intent is required to receive non-empty values from this field
The word or phrase configured in the rule that triggered the rule
optionalexternalmessage_id? : Snowflake
The id of any user message which content belongs toThis field will not be present if message was blocked by AutoMod or content was not part of any message
externalrule_id : Snowflake
The id of the rule which action belongs to
externalrule_trigger_type : AutoModerationRuleTriggerType
The trigger type of rule which was triggered
externaluser_id : Snowflake
The id of the user which generated the content which triggered the rule