export class AutoModerationActionExecution
Represents the structure of an executed action when an AutoModerationRule is triggered.
AutoModerationAction action :
The action that was executed.
The id of any system auto moderation messages posted as a result of this action.
readonlyAutoModerationRule | null autoModerationRule :
The auto moderation rule this action belongs to.
readonlyGuildTextBasedChannel | ForumChannel | MediaChannel | null channel :
The channel where this action was triggered from.
string content :
The content that triggered this action. This property requires the GatewayIntentBits privileged gateway intent.
Guild guild :
The guild where this action was executed from.
The word or phrase configured in the rule that triggered this action.
readonlyGuildMember | null member :
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.
Snowflake ruleId :
The id of the auto moderation rule this action belongs to.
AutoModerationRuleTriggerType ruleTriggerType :
The trigger type of the auto moderation rule which was triggered.
Snowflake userId :
The id of the user that triggered this action.