Case

Event.voiceStateUpdate

Fired when someone joins/leaves/moves a voice channel

Declaration

case voiceStateUpdate

Usage

bot.on(.voiceStateUpdate) { data in
  let userID = data as! UserID
}