Track voice-channel movements (#317)
This commit is contained in:
parent
383bdad7dd
commit
edd6e169fa
1 changed files with 1 additions and 0 deletions
1
wsapi.go
1
wsapi.go
|
@ -540,6 +540,7 @@ func (s *Session) onVoiceStateUpdate(st *VoiceStateUpdate) {
|
||||||
voice.Lock()
|
voice.Lock()
|
||||||
voice.UserID = st.UserID
|
voice.UserID = st.UserID
|
||||||
voice.sessionID = st.SessionID
|
voice.sessionID = st.SessionID
|
||||||
|
voice.ChannelID = st.ChannelID
|
||||||
voice.Unlock()
|
voice.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue