Class AutoModRuleDeleteEvent

All Implemented Interfaces:
GenericEvent

public class AutoModRuleDeleteEvent extends GenericAutoModRuleEvent
Indicates that an AutoModRule was deleted.

Requirements

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

  • Constructor Details

    • AutoModRuleDeleteEvent

      public AutoModRuleDeleteEvent(@Nonnull JDA api, long responseNumber, @Nonnull AutoModRule rule)