Event updates via the scientific method

This commit is contained in:
kozabrada123 2023-10-14 10:43:02 +02:00
parent 086005737f
commit 89f1bdb2da
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ impl WebSocketEvent for VoiceStateUpdate {}
/// Received to indicate which voice endpoint, token and guild_id to use; /// Received to indicate which voice endpoint, token and guild_id to use;
pub struct VoiceServerUpdate { pub struct VoiceServerUpdate {
pub token: String, pub token: String,
pub guild_id: Snowflake, /// Can be None in dm calls
pub guild_id: Option<Snowflake>,
pub endpoint: Option<String>, pub endpoint: Option<String>,
} }