Package net.dv8tion.jda.api.events.guild
Class UnavailableGuildLeaveEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.UnavailableGuildLeaveEvent
- All Implemented Interfaces:
GenericEvent
Indicates that you left a
Guild
that is not yet available.
This does not extend GenericGuildEvent
Can be used to retrieve id of the unavailable Guild.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe id for the guild we left.long
The id for the guild we left.Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
UnavailableGuildLeaveEvent
-
-
Method Details
-
getGuildId
The id for the guild we left.- Returns:
- The id for the guild
-
getGuildIdLong
public long getGuildIdLong()The id for the guild we left.- Returns:
- The id for the guild
-