Skip to content

Commit

Permalink
Fix invalid condition in requestSoundboardSounds
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Nov 8, 2024
1 parent 9946e79 commit c5adc18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/commonMain/kotlin/Gateway.kt
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public fun Gateway.requestSoundboardSounds(guildIds: List<Snowflake>): Flow<Soun
.filterIsInstance<SoundboardSounds>()
.transformWhile {
emit(it.data)
receivedGuilds.size == guildIds.size
receivedGuilds.size < guildIds.size
}
}

Expand Down

0 comments on commit c5adc18

Please sign in to comment.