Interface FetchingStrategyOptions

Hierarchy

  • Omit<WebSocketManagerOptions, "buildIdentifyThrottler" | "buildStrategy" | "rest" | "retrieveSessionInfo" | "shardCount" | "shardIds" | "updateSessionInfo">

Properties

compression: null | ZlibStream

The compression method to use

Default Value

null (no compression)

encoding: JSON

The encoding to use

Default Value

'json'

gatewayInformation: APIGatewayBotInfo
handshakeTimeout: null | number

How long to wait for a shard to connect before giving up

helloTimeout: null | number

How long to wait for a shard's HELLO packet before giving up

identifyProperties: GatewayIdentifyProperties

Properties to send to the gateway when identifying

initialPresence: null | GatewayPresenceUpdateData

Initial presence data to send to the gateway when identifying

intents: 0 | GatewayIntentBits

The intents to request

largeThreshold: null | number

Value between 50 and 250, total number of members where the gateway will stop sending offline members in the guild member list

readyTimeout: null | number

How long to wait for a shard's READY packet before giving up

shardCount: number
token: string

The token to use for identifying with the gateway

version: string

The gateway version to use

Default Value

'10'

Generated using TypeDoc