Class AutoModExecutionEvent

java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.automod.AutoModExecutionEvent
All Implemented Interfaces:
AutoModExecution, GenericEvent

public class AutoModExecutionEvent extends Event implements AutoModExecution
Indicates that an automated AutoModResponse has been triggered through an AutoModRule.

Requirements
This event requires the AUTO_MODERATION_EXECUTION intent to be enabled.
This event will only fire for guilds where the bot has the MANAGE_SERVER permission. Additionally, access to getContent() and getMatchedContent() requires the MESSAGE_CONTENT intent to be enabled.