From 4056cfa69c7c76b96d1886c0bd2a88279dba05ae Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Fri, 8 Nov 2024 21:37:14 +0100 Subject: [PATCH] Fix invalid deserialization of VoiceChannelEffect --- gateway/src/commonMain/kotlin/Event.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/src/commonMain/kotlin/Event.kt b/gateway/src/commonMain/kotlin/Event.kt index f8891aa2d1d..e2ec3f2f018 100644 --- a/gateway/src/commonMain/kotlin/Event.kt +++ b/gateway/src/commonMain/kotlin/Event.kt @@ -701,7 +701,7 @@ public data class VoiceChannelEffect( val channelId: Snowflake, val guildId: Snowflake, val userId: Snowflake, - val emoji: Optional, + val emoji: Optional = Optional.Missing(), val animationType: Optional = Optional.Missing(), val animationId: OptionalInt = OptionalInt.Missing, val soundId: OptionalSnowflake = OptionalSnowflake.Missing,