From 9946e794c50c359af22f6f76d5f866c86e87a030 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Fri, 8 Nov 2024 17:30:49 +0100 Subject: [PATCH] Register SOUNDBOARD_SOUNDS event --- gateway/src/commonMain/kotlin/Event.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/gateway/src/commonMain/kotlin/Event.kt b/gateway/src/commonMain/kotlin/Event.kt index 5650ded2e46..f8891aa2d1d 100644 --- a/gateway/src/commonMain/kotlin/Event.kt +++ b/gateway/src/commonMain/kotlin/Event.kt @@ -223,6 +223,7 @@ public sealed class Event { "GUILD_SOUNDBOARD_SOUNDS_UPDATE" -> GuildSoundboardSoundsUpdate(decode(SoundboardSoundsChunk.serializer()), sequence) "GUILD_SOUNDBOARD_SOUNDS_DELETE" -> GuildSoundboardSoundDelete(decode(DeletedSound.serializer()), sequence) "VOICE_CHANNEL_EFFECT_SEND" -> VoiceEffectSend(decode(VoiceChannelEffect.serializer()), sequence) + "SOUNDBOARD_SOUNDS" -> SoundboardSounds(decode(SoundboardSoundsChunk.serializer()), sequence) else -> { jsonLogger.debug { "Unknown gateway event name: $eventName" } UnknownDispatchEvent(eventName, eventData, sequence)