Interface

GatewayReadyDispatchData

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

Properties

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_id: string

Session ID for resuming.

shard?: [number, number]

Shard info [shard_id, num_shards] when sharding.

user: APIUser

Current user object.