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

10 lines
278 B
Nim
Raw Normal View History

import websocket, cache, user
type DiscordClient* = ref object ## Discord Client
token*: string
clientUser*: User
cache*: Cache
ws*: AsyncWebSocket
heartbeatInterval*: int
heartbeatAcked*: bool
lastSequence*: int