Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/denocordts/src/events/deps.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/events/deps.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()