Track voice-channel movements (#317)

This commit is contained in:
Lukas 2017-02-12 07:18:19 +01:00 committed by Chris Rhodes
parent 383bdad7dd
commit edd6e169fa

View file

@ -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()
}