From 6932e567b7163b0aab2604548ec3b7b76ce57106 Mon Sep 17 00:00:00 2001 From: kozabrada123 <“kozabrada123@users.noreply.github.com”> Date: Sat, 27 May 2023 09:58:10 +0200 Subject: [PATCH] Fix a types mismatch --- src/types/events/voice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/events/voice.rs b/src/types/events/voice.rs index d41b5b7..2a102b5 100644 --- a/src/types/events/voice.rs +++ b/src/types/events/voice.rs @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize}; /// /// Not to be confused with [VoiceStateUpdate] pub struct UpdateVoiceState { - pub guild_id: String, + pub guild_id: Option, pub channel_id: Option, pub self_mute: bool, pub self_deaf: bool,