UNPKG

@confis/discordapiwrapper

Version:

A fast and lightweight discord api wrapper.

20 lines (19 loc) 436 B
import { Client, JSONCache } from "../index"; /** * Base class for all API objects. */ export declare abstract class Base { readonly id: string; private readonly _client; protected constructor(client: Client); /** * Returns the client */ get client(): Client; _clone(): this; /** * Returns a JSON representation of the object. */ toJson(): JSONCache; _patch(data: any): void; }