Class UnavailableGuildLeaveEvent

java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.UnavailableGuildLeaveEvent
All Implemented Interfaces:
GenericEvent

public class UnavailableGuildLeaveEvent extends Event
Indicates that you left a Guild that is not yet available. This does not extend GenericGuildEvent

Can be used to retrieve id of the unavailable Guild.

  • Constructor Details

    • UnavailableGuildLeaveEvent

      public UnavailableGuildLeaveEvent(@Nonnull JDA api, long responseNumber, long guildId)
  • Method Details

    • getGuildId

      @Nonnull public String getGuildId()
      The id for the guild we left.
      Returns:
      The id for the guild
    • getGuildIdLong

      public long getGuildIdLong()
      The id for the guild we left.
      Returns:
      The id for the guild