added join and leave commands

This commit is contained in:
Hazem Krimi
2020-04-29 05:46:01 +01:00
parent f88d6ebe10
commit 6e1eaec9e9
5 changed files with 1786 additions and 5 deletions
+8
View File
@@ -0,0 +1,8 @@
module.exports = {
name: 'join',
description: 'joins a voice channel',
execute: async (message, voiceChannel, args) => {
connection = await voiceChannel.join();
connection.play('https://www.youtube.com/watch?v=Hl1s4BT9Fc4');
}
};