class BaseClient

extends

EventEmitter
export class BaseClient extends EventEmitter

The base class for all clients.

Constructors

constructor()

Constructs a new instance of the BaseClient class

rest : REST

The REST manager of the client

deleteWebhook() : Promise<void>

Deletes a webhook.

destroy() : void

Destroys all assets used by the base client.

toJSON(
...props: Record<string, boolean | string>[]
) : unknown