added main voice dependencies

This commit is contained in:
Hazem Krimi
2020-04-29 10:10:30 +01:00
parent 6e1eaec9e9
commit a300187aa4
3 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ module.exports = {
name: 'join',
description: 'joins a voice channel',
execute: async (message, voiceChannel, args) => {
if (!voiceChannel) return message.reply('you need to join a channel!');
connection = await voiceChannel.join();
connection.play('https://www.youtube.com/watch?v=Hl1s4BT9Fc4');
}
};