Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js join voice channel

if(!message.member.voice.channel) return message.channel.send("Please connect to a voice channel!"); //If you are not in the voice channel, then return a message
message.member.voice.channel.join(); //Join the voice channel
 
PREVIOUS NEXT
Tagged: #join #voice #channel
ADD COMMENT
Topic
Name
3+9 =