Class GuildInviteDeleteEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
net.dv8tion.jda.api.events.guild.invite.GuildInviteDeleteEvent
- All Implemented Interfaces:
GenericEvent
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 Summary
ConstructorDescriptionGuildInviteDeleteEvent
(JDA api, long responseNumber, String code, GuildChannel channel) -
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.guild.invite.GenericGuildInviteEvent
getChannel, getChannelType, getCode, getUrl
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
GuildInviteDeleteEvent
-