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.
nimcord/src/clientobjects.nim

11 lines
256 B
Nim
Raw Normal View History

import websocket, cache, user
2020-06-18 03:36:37 +00:00
type DiscordClient* = ref object
## Discord Client
token*: string
clientUser*: User
cache*: Cache
ws*: AsyncWebSocket
heartbeatInterval*: int
heartbeatAcked*: bool
lastSequence*: int