Class GenericAutoModRuleEvent

java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.automod.GenericAutoModRuleEvent
All Implemented Interfaces:
GenericEvent
Direct Known Subclasses:
AutoModRuleCreateEvent, AutoModRuleDeleteEvent, AutoModRuleUpdateEvent

public class GenericAutoModRuleEvent extends Event
Indicates that an AutoModRule was created/removed/updated.

Requirements

These events require the AUTO_MODERATION_CONFIGURATION intent to be enabled.
These events will only fire for guilds where the bot has the MANAGE_SERVER permission.