Package com.mewna.catnip.entity.misc
Interface Ready
- All Superinterfaces:
Entity
- All Known Implementing Classes:
ReadyImpl
Fired when a shard logs in successfully.
- Since:
- 10/4/18.
- Author:
- amy
-
Method Details
-
version
@Nonnegative int version()- Returns:
- The websocket gateway version.
-
user
- Returns:
- The user who logged in.
-
guilds
- Returns:
- The list of guild snowflakes for the guilds that this shard is in.
-
shardId
@Nonnegative int shardId()- Returns:
- The id of the shard that received this event.
-
shardCount
@Nonnegative int shardCount()- Returns:
- The total number of shards connected.
-