Package net.dv8tion.jda.api.events.guild
Class GuildUnavailableEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
- net.dv8tion.jda.api.events.guild.GuildUnavailableEvent
-
- All Implemented Interfaces:
GenericEvent
public class GuildUnavailableEvent extends GenericGuildEvent
Indicates that aGuild
became unavailable.
Possibly due to a downtime or an outage. When it becomes available again aGuildAvailableEvent
will be fired.Can be used to detect that a Guild stopped responding.
-
-
Constructor Summary
Constructors Constructor Description GuildUnavailableEvent(JDA api, long responseNumber, Guild guild)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-