Skip to content

$deleteWebhook

$deleteWebhook will delete a given Webhook.

Usage

$deleteWebhook[webhookID;webhookToken]

Parameters

FieldTypeDescriptionRequired
webhookIDnumberThe ID of the webhook.true
webhookTokenstringThe token of the webhook.true

Example(s)

This will delete a webhook of your guild:

1
client.command({
2
name: "deleteWebhook",
3
code: `
4
$deleteWebhook[webhookID;webhookToken]
5
` // replace the fields with the actual information.
6
});