The base class for all clients.
Extends
EventEmitterImplements
AsyncDisposableConstructs a new instance of the
BaseClient
className | Type | Optional | Description |
---|---|---|---|
options | ClientOptions | WebhookClientOptions | Yes | None |
Deletes a webhook.
Name | Type | Optional | Description |
---|---|---|---|
id | Snowflake | No | The webhook's id |
options | WebhookDeleteOptions | Yes | Options for deleting the webhook |
Destroys all assets used by the base client.