async function deleteWebhook(
  channelId,
  webhookId,
) {
  await requireBotChannelPermissions(channelId, [
    "MANAGE_WEBHOOKS",
  ]);
  return await rest.runMethod("delete", endpoints.WEBHOOK_ID(webhookId));
}
/** Delete a webhook permanently. Requires the `MANAGE_WEBHOOKS` permission. Returns a undefined on success */
Delete a webhook permanently. Requires the `MANAGE_WEBHOOKS` permission. Returns a undefined on success
Delete a webhook permanently . Requires the ` MANAGE_WEBHOOKS ` permission . Returns a undefined on success
async function deleteWebhook(
  channelId,
  webhookId,
) {
  await requireBotChannelPermissions(channelId, [
    "MANAGE_WEBHOOKS",
  ]);
  return await rest.runMethod("delete", endpoints.WEBHOOK_ID(webhookId));
}
async function deleteWebhook ( channelId , webhookId , ) { await requireBotChannelPermissions ( channelId , [ "MANAGE_WEBHOOKS" , ] ) ; return await rest . runMethod ( "delete" , endpoints . WEBHOOK_ID ( webhookId ) ) ; }
Delete a webhook permanently.
Delete a webhook permanently .