Class ReadyEvent.Guild
java.lang.Object
discord4j.core.event.domain.lifecycle.ReadyEvent.Guild
- Enclosing class:
- ReadyEvent
An incomplete Guild provided by Discord upon the ready event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Gets theSnowflake
ID of the guild.int
hashCode()
boolean
Whether or not the Guild has been made available via aGuildCreateEvent
toString()
-
Constructor Details
-
Guild
public Guild(long id, boolean available)
-
-
Method Details
-
getId
Gets theSnowflake
ID of the guild.- Returns:
- the
Snowflake
ID of the guild.
-
isAvailable
public boolean isAvailable()Whether or not the Guild has been made available via aGuildCreateEvent
- Returns:
- Whether or not the Guild has been made available yet.
-
equals
-
hashCode
public int hashCode() -
toString
-