mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-15 19:08:17 +00:00
fix: constant urls endpoints need to be functions
This commit is contained in:
@@ -6,7 +6,7 @@ export async function createStageInstance(bot: Bot, channelId: bigint, topic: st
|
||||
const result = await bot.rest.runMethod<DiscordStageInstance>(
|
||||
bot.rest,
|
||||
"post",
|
||||
bot.constants.endpoints.STAGE_INSTANCES,
|
||||
bot.constants.endpoints.STAGE_INSTANCES(),
|
||||
{
|
||||
channel_id: channelId.toString(),
|
||||
topic,
|
||||
|
||||
Reference in New Issue
Block a user