title: How do I disconnect a user from a voice channel in discord.js?
body: <p>I don't know how to make the user leave the voice channel.</p>
  
  <p>I'm trying to make a verify thing, I have it all setup except for the leave voice channel part.</p>
  
  <pre><code>bot.on('voiceStateUpdate', (oldMember, newMember) =&gt; {
    let newUserChannel = newMember.voiceChannel
    let oldUserChannel = oldMember.voiceChannel
    var channel = bot.channels.get('614299678300831744');
  
  
    if(oldUserChannel === undefined &amp;&amp; newUserChannel !== 615306755420717143) {
      channel.send(newMember + ' has been verified.');
      let role = newMember.guild.roles.find(role =&gt; role.name === "Verified");
      newMember.addRole(role);
      let verifyEmbed = new Discord.RichEmbed()
      .setAuthor("Verificaiton")
      .setDescription("You have been verified")
      .setFooter(newMember.guild.name)
      .setColor("#98AFC7")
      newMember.sendMessage(verifyEmbed);
      newMember.disconnect();
    }
  });
  </code></pre>
  
  <p>I don't get any error, but it should disconnect me from the voice channel but can't?</p>