SHARE
TWEET

Untitled

a guest Mar 25th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (message.member.voiceChannel) {
  2.         message.member.voiceChannel.join()
  3.           .then(connection => { // Connection is an instance of VoiceConnection
  4.             //message.reply('I have successfully connected to the channel!');
  5.           })
  6.           .catch(console.log);
  7.       } else {
  8.         message.reply('You need to join a voice channel first!').then(msg=>{
  9.           msg.delete(3000)
  10.       })
  11.       .catch();
  12.  
  13.       }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top