$deleteWebhook
$deleteWebhook will delete a given Webhook.
Usage
$deleteWebhook[webhookID;webhookToken]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| webhookID | number | The ID of the webhook. | true |
| webhookToken | string | The token of the webhook. | true |
Example(s)
This will delete a webhook of your guild:
1client.command({2 name: "deleteWebhook",3 code: `4 $deleteWebhook[webhookID;webhookToken]5 ` // replace the fields with the actual information.6});