Skip to main content
Module

x/revoltio/mod.ts>BaseManager

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

Constructors

new
BaseManager(client: Client)

Type Parameters

Holds extends { id: string; }
optional
R = unknown

Properties

readonly
cache: Collection<string, Holds>
abstract
readonly
holds: (new (...args: any[]) => Holds) | null

Methods

_add(raw: R): Holds
_remove(id: string): void
resolve(resolvable: Holds): Holds | null
resolve(resolvable: string | R): Holds | null
resolve(resolvable: string | R | Holds): Holds | null
resolveId(resolvable: string | Holds | R): string | null
valueOf(): this["cache"]