mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-31 07:50:07 +00:00
fix: remove stage channels when finished
This commit is contained in:
@@ -5,7 +5,7 @@ import { bot } from "../mod.ts";
|
||||
|
||||
Deno.test("[stage] Create a stage instance", async (t) => {
|
||||
const stage = await bot.helpers.createChannel(CACHED_COMMUNITY_GUILD_ID, {
|
||||
name: "instance",
|
||||
name: "createinstance",
|
||||
type: ChannelTypes.GuildStageVoice,
|
||||
});
|
||||
const instance = await bot.helpers.createStageInstance(stage.id, "test it");
|
||||
@@ -21,4 +21,6 @@ Deno.test("[stage] Create a stage instance", async (t) => {
|
||||
await t.step("[stage] Delete a stage instance", async () => {
|
||||
await bot.helpers.deleteStageInstance(stage.id);
|
||||
});
|
||||
|
||||
await bot.helpers.deleteChannel(stage.id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user