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
public class UnavailableGuildLeaveEvent extends Event
Indicates that you left aGuild
that is not yet available. This does not extendGenericGuildEvent
Can be used to retrieve id of the unavailable Guild.
-
-
Constructor Summary
Constructors Constructor Description UnavailableGuildLeaveEvent(JDA api, long responseNumber, long guildId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getGuildId()
The id for the guild we left.long
getGuildIdLong()
The id for the guild we left.-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
UnavailableGuildLeaveEvent
public UnavailableGuildLeaveEvent(@Nonnull JDA api, long responseNumber, long guildId)
-
-