Interface

GatewayReadyDispatchData

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

Properties

NameTypeDescription
guildsGatewayGuildSnapshot[]Guilds for this session. Bot tokens typically receive [] here; full snapshots arrive via GUILD_CREATE.
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.