AutoModerationActionExecution
classe · Source
Represents the structure of an executed action when an AutoModerationRule is triggered.
Properties
guild
The guild where this action was executed from. Source
action
The action that was executed. Source
ruleId
The id of the auto moderation rule this action belongs to. Source
ruleTriggerType
The trigger type of the auto moderation rule which was triggered. Source
userId
The id of the user that triggered this action. Source
channelId
The id of the channel where this action was triggered from. Source
messageId
The id of the message that triggered this action. Source
alertSystemMessageId
The id of any system auto moderation messages posted as a result of this action. Source
content
The content that triggered this action. This property requires the Intents.FLAGS.MESSAGE_CONTENT privileged gateway intent. Source
matchedKeyword
The word or phrase configured in the rule that triggered this action. Source
matchedContent
The substring in content that triggered this action. Source
autoModerationRule
The auto moderation rule this action belongs to. Source