Class ReadyEvent.Guild
- java.lang.Object
-
- discord4j.core.event.domain.lifecycle.ReadyEvent.Guild
-
- Enclosing class:
- ReadyEvent
public static class ReadyEvent.Guild extends Object
An incomplete Guild provided by Discord upon the ready event.
-
-
Constructor Summary
Constructors Constructor Description Guild(long id, boolean available)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)SnowflakegetId()Gets theSnowflakeID of the guild.inthashCode()booleanisAvailable()Whether or not the Guild has been made available via aGuildCreateEventStringtoString()
-
-
-
Method Detail
-
getId
public Snowflake getId()
Gets theSnowflakeID of the guild.- Returns:
- the
SnowflakeID 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.
-
-