export class AutoModerationActionExecutionRepresents the structure of an executed action when an AutoModerationRule is triggered.
action : AutoModerationAction
The action that was executed.
The id of any system auto moderation messages posted as a result of this action.
readonlyautoModerationRule : AutoModerationRule | null
The auto moderation rule this action belongs to.
readonlychannel : GuildTextBasedChannel | ForumChannel | MediaChannel | null
The channel where this action was triggered from.
content : string
The content that triggered this action. This property requires the GatewayIntentBits.MessageContent privileged gateway intent.
guild : Guild
The guild where this action was executed from.
readonlymember : GuildMember | null
The guild member that triggered this action.
The id of the message that triggered this action. This will not be present if the message was blocked or the content was not part of any message.
ruleId : Snowflake
The id of the auto moderation rule this action belongs to.
ruleTriggerType : AutoModerationRuleTriggerType
The trigger type of the auto moderation rule which was triggered.
userId : Snowflake
The id of the user that triggered this action.