BaseClient

export class BaseClient extends EventEmitter
export class BaseClient extends EventEmitter
The base class for all clients.

Extends

EventEmitter
constructor(options?)
Constructs a new instance of the BaseClient class
NameTypeOptionalDescription
optionsClientOptions | WebhookClientOptionsYesNone
The options the client was instantiated with
rest:REST
The REST manager of the client
destroy():void
Destroys all assets used by the base client.
toJSON(...props):unknown
NameTypeOptionalDescription
...propsRecord<string, boolean | string>[]NoNone