export class BaseClient<Events extends {}> extends AsyncEventEmitter<Events> implements AsyncDisposable
The base class for all clients.
Constructors
options?: ClientOptions | WebhookClientOptions)
constructor(options?: ClientOptions | WebhookClientOptions
Constructs a new instance of the BaseClient
class
Type Parameters
{} Events extends
ClientOptions | WebhookClientOptions options :
The options the client was instantiated with
REST rest :
The REST manager of the client