Class 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 Detail

      • UnavailableGuildLeaveEvent

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

      • getGuildId

        @Nonnull
        public java.lang.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