Browse Source

Track voice-channel movements (#317)

Lukas 8 years ago
parent
commit
edd6e169fa
1 changed files with 1 additions and 0 deletions
  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()
 }