forked from pothtonswer/discordmuffin
Add initial block for Voice OP5
This commit is contained in:
parent
1c00077923
commit
c10cdccf22
1 changed files with 10 additions and 0 deletions
10
voice.go
10
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)
|
||||
|
|
Loading…
Reference in a new issue