Explorar el Código

Track voice-channel movements (#317)

Lukas hace 8 años
padre
commit
edd6e169fa
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      wsapi.go

+ 1 - 0
wsapi.go

@@ -540,6 +540,7 @@ func (s *Session) onVoiceStateUpdate(st *VoiceStateUpdate) {
 	voice.Lock()
 	voice.UserID = st.UserID
 	voice.sessionID = st.SessionID
+	voice.ChannelID = st.ChannelID
 	voice.Unlock()
 }