mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2025-10-15 00:31:34 +01:00
This commit is contained in:
parent
f7346b33c6
commit
68e3c27f92
2 changed files with 3 additions and 0 deletions
2
index.js
2
index.js
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue