Package net.dv8tion.jda.api.events.guild
Class GuildLeaveEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
- net.dv8tion.jda.api.events.guild.GuildLeaveEvent
-
- All Implemented Interfaces:
GenericEvent
public class GuildLeaveEvent extends GenericGuildEvent
Indicates that you left aGuild
.
This requires that the guild is available when the guild leave happens. Otherwise aUnavailableGuildLeaveEvent
is fired instead.Can be used to detect when you leave a Guild.
- See Also:
UnavailableGuildLeaveEvent
-
-
Constructor Summary
Constructors Constructor Description GuildLeaveEvent(JDA api, long responseNumber, Guild guild)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-