BaseClient

Signature

export declare class BaseClient

Properties

botIdSetter
set botId(id: string);
botIdGetter
get botId(): string;

Methods

protected execute(..._options: unknown[]): Promise<void>;
close(): Promise<void>;

Closes resources managed by the plugin lifecycle. This waits for in-flight plugin setup and runs `SeyfertPlugin.teardown`. It does not close the gateway, REST client, or cache adapter.

protected onPacket(..._packet: unknown[]): Promise<any>;
uploadCommands({ applicationId, cachePath }?: {    applicationId?: string;    cachePath?: string;}): Promise<void>;