OptionalbuildBuilds an identify throttler to use for this manager's shards
OptionalbuildBuilds the strategy to use for sharding
OptionalcompressionThe compression method to use
OptionalencodingThe encoding to use
OptionalhandshakeHow long to wait for a shard to connect before giving up
OptionalhelloHow long to wait for a shard's HELLO packet before giving up
OptionalidentifyProperties to send to the gateway when identifying
OptionalinitialInitial presence data to send to the gateway when identifying
The intents to request
OptionallargeValue between 50 and 250, total number of members where the gateway will stop sending offline members in the guild member list
OptionalreadyHow long to wait for a shard's READY packet before giving up
The REST instance to use for fetching gateway information
OptionalretrieveFunction used to retrieve session information (and attempt to resume) for a given shard
OptionalshardThe total number of shards across all WebsocketManagers you intend to instantiate.
Use null to use Discord's recommended shard count
OptionalshardThe ids of the shards this WebSocketManager should manage.
Use null to simply spawn 0 through shardCount - 1
The token to use for identifying with the gateway
OptionalupdateFunction used to store session information for a given shard
OptionalversionThe gateway version to use
Make all properties in T optional