v5.0.0
$deleteWebhook
Deletes a webhook
This function allows the bot to delete a webhook

Fields

This function has 2 fields
  1. 1.
    Webhook ID (Required)
  2. 2.
    Webhook Token (Required)
Raw Usage: $deleteWebhook[webhookID;webhookToken]

Options

  • Webhook ID - The ID of the webhook we're deleting
  • Webhook Token - The Token of the webhook we're deleting

Usage

1
bot.command({
2
name: "deleteWebhook",
3
code: `$deleteWebhook[793312378162642975;paNWUYLC22oL-t2hbYeu3zrwWXNfVxjn4TmDDVTISNVRbytCbptYM4DETJDTPzG-1JcA]
4
`
5
})
Copied!

Webhook Info

  • URL - https://ptb.discordapp.com/api/webhooks/793312378162642975/paNWUYLC22oL-t2hbYeu3zrwWXNfVxjn4TmDDVTISNVRbytCbptYM4DETJDTPzG-1JcA
  • ID - 793312378162642975
  • Token - paNWUYLC22oL-t2hbYeu3zrwWXNfVxjn4TmDDVTISNVRbytCbptYM4DETJDTPzG-1JcA
Last modified 1mo ago
Copy link
Edit on GitHub