Preview environment
export class BaseClient extends EventEmitter implements AsyncDisposable
The base class for all clients.
Constructors
options?: ClientOptions | WebhookClientOptions) constructor(
options?: ClientOptions | WebhookClientOptions
Constructs a new instance of the BaseClient
class
ClientOptions | WebhookClientOptions options :
The options the client was instantiated with
REST rest :
The REST manager of the client