try ffmpeg static
Some checks failed
Docker / build (push) Has been cancelled

This commit is contained in:
Ayden Jahola 2025-09-25 11:35:42 +01:00
parent f7346b33c6
commit 68e3c27f92
2 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@ const ServerSettings = require("./models/ServerSettings");
const seedShopItems = require("./utils/seedShopItems"); const seedShopItems = require("./utils/seedShopItems");
const seedSpyfallLocations = require("./utils/seedSpyfallLocations"); const seedSpyfallLocations = require("./utils/seedSpyfallLocations");
const setupDisTubeEvents = require("./events/distubeEvents"); const setupDisTubeEvents = require("./events/distubeEvents");
const ffmpeg = require("ffmpeg-static");
// Console colors // Console colors
const colors = { const colors = {
@ -95,6 +96,7 @@ client.distube = new DisTube(client, {
emitAddListWhenCreatingQueue: true, emitAddListWhenCreatingQueue: true,
savePreviousSongs: false, // lower memory over long sessions savePreviousSongs: false, // lower memory over long sessions
joinNewVoiceChannel: true, // smoother UX if user moves VC joinNewVoiceChannel: true, // smoother UX if user moves VC
ffmpeg: { path: ffmpeg },
}); });
// Function to recursively read commands from subdirectories // Function to recursively read commands from subdirectories

View file

@ -22,6 +22,7 @@
"distube": "^5.0.7", "distube": "^5.0.7",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"express": "^4.19.2", "express": "^4.19.2",
"ffmpeg-static": "^5.2.0",
"genius-lyrics": "^4.4.7", "genius-lyrics": "^4.4.7",
"html-entities": "^2.5.2", "html-entities": "^2.5.2",
"moment": "^2.30.1", "moment": "^2.30.1",