From 42090654445e2f297406bbdf85c9071d2fa15288 Mon Sep 17 00:00:00 2001 From: NoComment Date: Mon, 7 Aug 2023 16:16:55 +0100 Subject: [PATCH] No parent for you --- core/src/commonMain/kotlin/behavior/GuildBehavior.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/src/commonMain/kotlin/behavior/GuildBehavior.kt b/core/src/commonMain/kotlin/behavior/GuildBehavior.kt index 329f1f7670d..242f2424059 100644 --- a/core/src/commonMain/kotlin/behavior/GuildBehavior.kt +++ b/core/src/commonMain/kotlin/behavior/GuildBehavior.kt @@ -838,10 +838,7 @@ public suspend inline fun GuildBehavior.createStageChannel( contract { callsInPlace(builder, EXACTLY_ONCE) } - val response = kord.rest.guild.createStageChannel(id, name) { - builder() - parentId = id - } + val response = kord.rest.guild.createStageChannel(id, name, builder) val data = ChannelData.from(response) return Channel.from(data, kord) as StageChannel