From 7d9a4636fbea53ddfc10e2c0c9dfdabc4f606404 Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Wed, 24 Nov 2021 16:33:10 +0000 Subject: [PATCH] fix: remove stage channels when finished --- .../{createSlashCommand.ts => createApplicationCommand.ts} | 0 tests/channels/stageInstances.ts | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename src/types/discordeno/{createSlashCommand.ts => createApplicationCommand.ts} (100%) diff --git a/src/types/discordeno/createSlashCommand.ts b/src/types/discordeno/createApplicationCommand.ts similarity index 100% rename from src/types/discordeno/createSlashCommand.ts rename to src/types/discordeno/createApplicationCommand.ts diff --git a/tests/channels/stageInstances.ts b/tests/channels/stageInstances.ts index f4e7de799..a5e28694e 100644 --- a/tests/channels/stageInstances.ts +++ b/tests/channels/stageInstances.ts @@ -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); });