diff --git a/voice/voicegateway/commands.go b/voice/voicegateway/commands.go index 51ff6f5..a3e1d94 100644 --- a/voice/voicegateway/commands.go +++ b/voice/voicegateway/commands.go @@ -107,9 +107,10 @@ const ( // OPCode 5 // https://discord.com/developers/docs/topics/voice-connections#speaking-example-speaking-payload type SpeakingData struct { - Speaking SpeakingFlag `json:"speaking"` - Delay int `json:"delay"` - SSRC uint32 `json:"ssrc"` + Speaking SpeakingFlag `json:"speaking"` + Delay int `json:"delay"` + SSRC uint32 `json:"ssrc"` + UserID discord.UserID `json:"user_id,omitempty"` } // Speaking sends a Speaking operation (opcode 5) to the Gateway Gateway.