Event updates via the scientific method

This commit is contained in:
kozabrada123 2023-10-14 10:43:02 +02:00
parent cdcc6a5270
commit 7b8bcffafa
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;
pub struct VoiceServerUpdate {
pub token: String,
pub guild_id: Snowflake,
/// Can be None in dm calls
pub guild_id: Option<Snowflake>,
pub endpoint: Option<String>,
}