Interface IClientOptions

Hierarchy

  • IClientOptions

Properties

initialPresence?: GatewayPresenceUpdate
largeGuildThreshold?: number
reconnect?: boolean
shards?: number[] | "auto"

A note on "auto" sharding: "auto" will always start at 0 as there is no way to know the next available shard id. If you have more than one "cluster", you must specify an Array of shard ids. along with totalShards

snowtransferInstance?: SnowTransfer
totalShards?: number

Ignored and overwrote if using "auto" sharding. The total number of shards expected across all clusters.

Generated using TypeDoc