Skip to content

Commit

Permalink
Track voice-channel movements (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas authored and iopred committed Feb 12, 2017
1 parent 383bdad commit edd6e16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wsapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit edd6e16

Please sign in to comment.