Class AutoModRuleCreateEvent

All Implemented Interfaces:
GenericEvent

public class AutoModRuleCreateEvent extends GenericAutoModRuleEvent
Indicates that an AutoModRule was created.

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

    • AutoModRuleCreateEvent

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