Answers for "how to kick member from voice channel discord.js"

4

discord.js kick user

let member = message.mentions.members.first();
if(!member) return message.reply("Please mention a valid member of this server");
if(!member.kickable) return message.reply("I cannot kick this member!");

member.kick(); //.kick(reason) if you would to put in the reason through arguments
Posted by: Guest on January-15-2021

Code answers related to "how to kick member from voice channel discord.js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language