Preview deployment

class BaseClient

implements

AsyncDisposable

extends

EventEmitter
export class BaseClient extends EventEmitter implements AsyncDisposable

The base class for all clients.

Constructors

constructor()

Constructs a new instance of the BaseClient class

The options the client was instantiated with

rest : REST

The REST manager of the client

[Symbol.asyncDispose]() : Promise<void>

deleteWebhook() : Promise<void>

Deletes a webhook.

destroy() : void

Destroys all assets used by the base client.

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