fix: type error in a test

This commit is contained in:
Skillz4Killz
2022-04-15 09:33:41 +00:00
committed by GitHub
parent 886e72651f
commit ddd847cfff

View File

@@ -8,7 +8,7 @@ Deno.test("[stage] Create a stage instance", async (t) => {
name: "createinstance",
type: ChannelTypes.GuildStageVoice,
});
const instance = await bot.helpers.createStageInstance(stage.id, "test it");
const instance = await bot.helpers.createStageInstance({ channelId: stage.id, topic: "test it" });
assertExists(instance);
await t.step("[stage] Edit a stage instance", async () => {