Interface

GatewayReadyDispatchData

READY dispatch (op 0, t = READY) — initial connection established.

Properties

NameTypeDescription
guildsGatewayGuildSnapshot[]Guilds for this session. Bots receive unavailable stubs ({ id, unavailable: true }); full snapshots arrive via later GUILD_CREATE dispatches. User clients may receive fuller guild objects inline.
private_channels?APIChannel[]Private / DM channels (user clients; usually absent for bots).
session_idstringSession ID for resuming.
shard?[number, number]Shard info [shard_id, num_shards] when sharding.
userAPIUserCurrent user object.