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 a Guild that is not yet available. This does not extend GenericGuildEvent
This will be followed by a GuildAvailableEvent once the guild becomes available again.

Can be used to retrieve id of new unavailable Guild.

  • Constructor Details

    • UnavailableGuildJoinedEvent

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

    • getGuildId

      @Nonnull public String getGuildId()
      The ID of the guild
      Returns:
      The ID of the guild
    • getGuildIdLong

      public long getGuildIdLong()
      The ID of the guild
      Returns:
      The ID of the guild