Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denocordts/src/client/base.ts>Base

An Object Oriented Discord API wrapper for Deno.
Latest
class Base
import { Base } from "https://deno.land/x/denocordts@1.2.0/src/client/base.ts";

Constructors

new
Base(options: ClientOptions)

Properties

private
heartbeatInterval: number
protected
options
protected
start: number
protected
websocket
cache: Cache
ping
rest
token: string
readonly
uptime
user

Methods

private
addChannelsToCache(channels: APIChannel[])
private
addEmojisToCache(emojis: APIEmoji[], guildId: string)
private
addRolesToCache(roles: APIRole[], guild: Guild)
private
addUsersToCache(users: APIUser[])
private
sendHeartBeat()