diff --git a/lib/src/utils/cache_helpers.dart b/lib/src/utils/cache_helpers.dart index c183cd25b..47371f252 100644 --- a/lib/src/utils/cache_helpers.dart +++ b/lib/src/utils/cache_helpers.dart @@ -297,7 +297,7 @@ extension CacheUpdates on NyxxRest { VoiceChannelEffectSendEvent() => null, SoundboardSoundCreateEvent(:final sound) => updateCacheWith(sound), SoundboardSoundUpdateEvent(:final sound) => updateCacheWith(sound), - SoundboardSoundDeleteEvent() => null, + SoundboardSoundDeleteEvent(:final sound?) => sound.manager.cache.remove(sound.id), MessagePollVoteAddEvent() => null, MessagePollVoteRemoveEvent() => null,