mirror of
https://github.com/hazemKrimi/discord-bot.git
synced 2026-05-01 18:30:25 +00:00
added main voice dependencies
This commit is contained in:
+1
-1
@@ -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');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user