import type { Bot } from "../../bot.ts"; /** Delete a webhook permanently. Returns a undefined on success */ export async function deleteWebhookWithToken(bot: Bot, webhookId: bigint, webhookToken: string) { await bot.rest.runMethod(bot.rest, "delete", bot.constants.endpoints.WEBHOOK(webhookId, webhookToken)); }