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');
}
};
+8
View File
@@ -1587,6 +1587,14 @@
}
}
},
"sodium": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/sodium/-/sodium-3.0.2.tgz",
"integrity": "sha512-IsTwTJeoNBU97km3XkrbCGC/n/9aUQejgD3QPr2YY2gtbSPru3TI6nhCqgoez9Mv88frF9oVZS/jrXFbd6WXyA==",
"requires": {
"node-addon-api": "*"
}
},
"source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+2 -1
View File
@@ -21,6 +21,7 @@
"@discordjs/opus": "^0.2.1",
"discord.js": "^12.2.0",
"dotenv": "^8.2.0",
"ffmpeg-static": "^4.2.0"
"ffmpeg-static": "^4.2.0",
"sodium": "^3.0.2"
}
}