mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
* feat: base plugin lib idea * fix: stuff * fmt * fix: imports and exports * fix: errors & tests * fix: remove logs
7 lines
319 B
TypeScript
7 lines
319 B
TypeScript
import { 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));
|
|
}
|