diff --git a/src/types/events/voice.rs b/src/types/events/voice.rs index 2618ee1..cb258fc 100644 --- a/src/types/events/voice.rs +++ b/src/types/events/voice.rs @@ -34,7 +34,8 @@ impl WebSocketEvent for VoiceStateUpdate {} /// Received to indicate which voice endpoint, token and guild_id to use; pub struct VoiceServerUpdate { pub token: String, - pub guild_id: Snowflake, + /// Can be None in dm calls + pub guild_id: Option, pub endpoint: Option, }