Class GuildInviteDeleteEvent

  • All Implemented Interfaces:
    GenericEvent

    public class GuildInviteDeleteEvent
    extends GenericGuildInviteEvent
    Indicates than an Invite was deleted from a Guild.

    Can be used to track invite deletion for moderation purposes.

    Requirements

    This event requires the GUILD_INVITES intent to be enabled.
    This event will only fire for invites deleted in channels where you can MANAGE_CHANNEL.

    • Constructor Detail

      • GuildInviteDeleteEvent

        public GuildInviteDeleteEvent​(@Nonnull
                                      JDA api,
                                      long responseNumber,
                                      @Nonnull
                                      java.lang.String code,
                                      @Nonnull
                                      GuildChannel channel)