Module dscord.gateway.client
Manages the Discord websocket client.
Classes
Name | Description |
---|---|
GatewayClient
|
GatewayClient is the base abstraction for connecting to, and interacting with
the Discord Websocket (gateway) API.
|
Global variables
Name | Type | Description |
---|---|---|
GATEWAY_VERSION
|
const(ubyte)
|
Current implemented Gateway version. |
MAX_RECONNECTS
|
const(ubyte)
|
Maximum reconnects the GatewayClient will try before resetting session state
|