Skip to content

Commit

Permalink
Register SOUNDBOARD_SOUNDS event
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Nov 8, 2024
1 parent d2ae58b commit 9946e79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gateway/src/commonMain/kotlin/Event.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9946e79

Please sign in to comment.