Class GenericGuildInviteEvent

java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
All Implemented Interfaces:
GenericEvent
Direct Known Subclasses:
GuildInviteCreateEvent, GuildInviteDeleteEvent

public class GenericGuildInviteEvent extends GenericGuildEvent
Indicates that an Invite was created or deleted in a Guild.
Every GuildInviteEvent is derived from this event and can be casted.

Can be used to detect any GuildInviteEvent.

Requirements

These events require the GUILD_INVITES intent to be enabled.
These events will only fire for invite events that occur in channels where you can MANAGE_CHANNEL.