mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 15:30:07 +00:00
9 lines
251 B
TypeScript
9 lines
251 B
TypeScript
import { bot, channel } from "../mod.ts";
|
|
|
|
Deno.test("[webhooks] Delete a webhook", async () => {
|
|
const webhook = await bot.helpers.createWebhook(channel.id, {
|
|
name: "natico",
|
|
});
|
|
await bot.helpers.deleteWebhook(channel.id, webhook.id);
|
|
});
|