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');
|
||||
}
|
||||
};
|
||||
Generated
+8
@@ -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
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user