Package net.dv8tion.jda.api.events.guild
Class UnavailableGuildJoinedEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.UnavailableGuildJoinedEvent
- All Implemented Interfaces:
GenericEvent
Indicates that you joined a
This will be followed by a
Guild
that is not yet available.
This does not extend GenericGuildEvent
This will be followed by a
GuildAvailableEvent
once the guild becomes available again.
Can be used to retrieve id of new unavailable Guild.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the guildlong
The ID of the guildMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
Constructor Details
-
UnavailableGuildJoinedEvent
-
-
Method Details
-
getGuildId
The ID of the guild- Returns:
- The ID of the guild
-
getGuildIdLong
public long getGuildIdLong()The ID of the guild- Returns:
- The ID of the guild
-