How can I know when a user has disconnected from a specific voice channel
Havent found anything on the docs
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
listen to the
voiceStateUpdate
event
oldState.channelId
will exist and newState.channelId
will not exist when they disconnect (event) Client#voiceStateUpdate
Emitted whenever a member changes voice state - e.g. joins/leaves a channel, mutes/unmutes.
thanks