import { type GatewayAutoModerationActionExecutionDispatchData } from "https://deno.land/x/discord_api_types@0.37.46/v10.ts";
Properties
The id of the guild in which action was executed
The action which was executed
The id of the rule which action belongs to
The trigger type of rule which was triggered
The id of the user which generated the content which triggered the rule
The id of the channel in which user content was posted
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
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
The user generated text content
MESSAGE_CONTENT
(1 << 15
) gateway intent is required to receive non-empty values from this field