Skip to content

Commit

Permalink
Fix invalid deserialization of VoiceChannelEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Nov 8, 2024
1 parent c057e46 commit de0d28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/commonMain/kotlin/Event.kt
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ public data class VoiceChannelEffect(
val channelId: Snowflake,
val guildId: Snowflake,
val userId: Snowflake,
val emoji: Optional<DiscordEmoji>,
val emoji: Optional<DiscordEmoji?> = Optional.Missing(),
val animationType: Optional<AnimationType > = Optional.Missing(),
val animationId: OptionalInt = OptionalInt.Missing,
val soundId: OptionalSnowflake = OptionalSnowflake.Missing,
Expand Down

0 comments on commit de0d28e

Please sign in to comment.