discordjs disconnect user from voice channel code example
Example: discord.js leave voice channel
if(!message.guild.me.voice.channel) return message.channel.send("I'm not in a voice channel"); //If the bot is not in a voice channel, then return a message
message.guild.me.voice.channel.leave(); //Leave the voice channel