From c10cdccf223f8cc4f8d747a431304b3984d53a5c Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Tue, 12 Jan 2016 08:15:32 -0600 Subject: [PATCH] Add initial block for Voice OP5 --- voice.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/voice.go b/voice.go index 08b1168..2946845 100644 --- a/voice.go +++ b/voice.go @@ -187,6 +187,16 @@ func (v *Voice) wsEvent(messageType int, message []byte) { case 4: // TODO + case 5: + // SPEAKING TRUE/FALSE NOTIFICATION + /* + { + "user_id": "1238921738912", + "ssrc": 2, + "speaking": false + } + */ + default: fmt.Println("UNKNOWN VOICE OP: ", e.Operation) printJSON(e.RawData)