Class GenericGuildInviteEvent

All Implemented Interfaces:
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.


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.