Skip to content

Commit

Permalink
No parent for you
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed Aug 7, 2023
1 parent 90d1c65 commit 4209065
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/src/commonMain/kotlin/behavior/GuildBehavior.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4209065

Please sign in to comment.