Optional
fetchWhether to fetch all members of a server.
Optional
ignoreWhether to ignore bot messages.
Optional
ignoreevents for the client to ignore.
Optional
iswether to use X-Session-Token or X-Bot-Token
Optional
MessageOptional
maxSize?: numberThe maximum size of the cache.
Optional
restConfiguration for REST API requests.
The number of retries for failed REST requests.
The timeout for REST requests in milliseconds.
Optional
wsConfiguration for WebSocket connections.
Optional
heartbeatInterval?: numberThe interval for sending heartbeats in milliseconds.
Optional
reconnect?: booleanWhether to automatically reconnect on disconnection.
Represents the options for configuring the client.