diff --git a/index.js b/index.js index 20a481d..c10d8ca 100644 --- a/index.js +++ b/index.js @@ -18,6 +18,7 @@ const ServerSettings = require("./models/ServerSettings"); const seedShopItems = require("./utils/seedShopItems"); const seedSpyfallLocations = require("./utils/seedSpyfallLocations"); const setupDisTubeEvents = require("./events/distubeEvents"); +const ffmpeg = require("ffmpeg-static"); // Console colors const colors = { @@ -95,6 +96,7 @@ client.distube = new DisTube(client, { emitAddListWhenCreatingQueue: true, savePreviousSongs: false, // lower memory over long sessions joinNewVoiceChannel: true, // smoother UX if user moves VC + ffmpeg: { path: ffmpeg }, }); // Function to recursively read commands from subdirectories diff --git a/package.json b/package.json index 07da457..8cb808a 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "distube": "^5.0.7", "dotenv": "^16.4.5", "express": "^4.19.2", + "ffmpeg-static": "^5.2.0", "genius-lyrics": "^4.4.7", "html-entities": "^2.5.2", "moment": "^2.30.1",