Class AutoModRuleUpdateEvent

All Implemented Interfaces:
GenericEvent

public class AutoModRuleUpdateEvent extends GenericAutoModRuleEvent
Indicates that an AutoModRule was updated.

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

    • AutoModRuleUpdateEvent

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