This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
|
import websocket, cache, user
|
|
|
|
type DiscordClient* = ref object
|
|
## Discord Client
|
|
token*: string
|
|
clientUser*: User
|
|
cache*: Cache
|
|
ws*: AsyncWebSocket
|
|
heartbeatInterval*: int
|
|
heartbeatAcked*: bool
|
|
lastSequence*: int |