Class GuildUnavailableEvent

  • All Implemented Interfaces:
    GenericEvent

    public class GuildUnavailableEvent
    extends GenericGuildEvent
    Indicates that a Guild became unavailable.
    Possibly due to a downtime or an outage. When it becomes available again a GuildAvailableEvent will be fired.

    Can be used to detect that a Guild stopped responding.

    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GuildUnavailableEvent

        public GuildUnavailableEvent​(@Nonnull
                                     JDA api,
                                     long responseNumber,
                                     @Nonnull
                                     Guild guild)