VOICE_STATE_UPDATE should not fall though to Default right now.
This commit is contained in:
parent
552abf8818
commit
87f433e2d8
1 changed files with 1 additions and 0 deletions
1
wsapi.go
1
wsapi.go
|
@ -148,6 +148,7 @@ func (s *Session) event(messageType int, message []byte) (err error) {
|
|||
return err
|
||||
}
|
||||
s.onVoiceStateUpdate(st)
|
||||
return
|
||||
case "PRESENCE_UPDATE":
|
||||
if s.OnPresenceUpdate != nil {
|
||||
var st PresenceUpdate
|
||||
|
|
Loading…
Reference in a new issue