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
public class UnavailableGuildJoinedEvent extends Event
Indicates that you joined aGuildthat is not yet available. This does not extendGenericGuildEvent
This will be followed by aGuildAvailableEventonce the guild becomes available again.Can be used to retrieve id of new unavailable Guild.
-
-
Constructor Summary
Constructors Constructor Description UnavailableGuildJoinedEvent(JDA api, long responseNumber, long guildId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGuildId()The ID of the guildlonggetGuildIdLong()The ID of the guild-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
UnavailableGuildJoinedEvent
public UnavailableGuildJoinedEvent(@Nonnull JDA api, long responseNumber, long guildId)
-
-