AutoModerationActionExecutionEvent
An AutoModerationEvent that is sent when an AutoModerationRule is triggered and an AutoModerationAction is executed (e.g. when a message is blocked).
This event is only sent to bot users which have the ManageGuild permission.
Constructors
Properties
The AutoModerationAction which was executed.
The behavior of the GuildMessageChannel in which user content was posted.
The ID of the GuildMessageChannel in which user content was posted.
A custom object that can be inserted when creating events. By default, this is just null
.
The behavior of the Guild this event is for.
The substring in content that triggered the rule.
The word or phrase configured in the rule that triggered it.
The behavior of the Member which generated the content which triggered the rule.
The behavior of the AutoModerationRule which the action belongs to.
The ID of the AutoModerationRule which the action belongs to.
The supplier used to request entities.
Functions
Requests to get the Guild this event is for. Returns null
if it wasn't found.