Skip to main content
Extremely Popular
Go to Latest
File
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<undefined>(bot.rest, "DELETE", bot.constants.routes.WEBHOOK(webhookId, webhookToken));}