Skip to main content
Module

x/revoltio/mod.ts>Client

No-nonsense Revolt library for nodejs and deno.
Latest
class Client
extends BaseClient
Re-export
import { Client } from "https://deno.land/x/revoltio@v1.0.0/mod.ts";

Properties

protected
readonly
ws: WebSocketShard
readonly
actions: ActionManager
readonly
channels: ChannelManager
optional
configuration: API.RevoltConfig
readyAt: Date | null
readonly
readyTimestamp: number | null
readonly
servers: ServerManager
readonly
uptime: number | null
user: ClientUser | null
readonly
users: UserManager

Methods

destroy(): Promise<void>
isReady(): boolean
login(token?: string, type?: "user" | "bot"): Promise<void>