Explorar el Código

VOICE_STATE_UPDATE should not fall though to Default right now.

Bruce Marriner hace 9 años
padre
commit
87f433e2d8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      wsapi.go

+ 1 - 0
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