Package net.dv8tion.jda.api.events.guild
Class GuildTimeoutEvent
- java.lang.Object
- 
- net.dv8tion.jda.api.events.Event
- 
- net.dv8tion.jda.api.events.guild.GuildTimeoutEvent
 
 
- 
- All Implemented Interfaces:
- GenericEvent
 
 public class GuildTimeoutEvent extends Event Indicates that a guild failed to ready up and timed out.
 Usually this event will be fired right before aReadyEvent.This will mark the guild as unavailable and it will not be usable when JDA becomes ready. You can check all unavailable guilds with ReadyEvent.getGuildUnavailableCount()andJDA.getUnavailableGuilds().Developer NoteDiscord may also explicitly mark guilds as unavailable during the setup, in which case this event will not fire. It is recommended to check for unavailable guilds in the ready event explicitly to avoid any ambiguity. 
- 
- 
Constructor SummaryConstructors Constructor Description GuildTimeoutEvent(JDA api, long guildId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGuildId()The guild id for the timed out guildlonggetGuildIdLong()The guild id for the timed out guild- 
Methods inherited from class net.dv8tion.jda.api.events.EventgetJDA, getResponseNumber
 
- 
 
- 
- 
- 
Constructor Detail- 
GuildTimeoutEventpublic GuildTimeoutEvent(@Nonnull JDA api, long guildId)
 
- 
 
-