From b577ff320723b2348f1315ff7b5b78a20b40cac4 Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:54:30 +0300 Subject: [PATCH] It doesnt want to use config for some reason. Time to debug stuff --- app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.js b/app.js index 856985f..796369d 100644 --- a/app.js +++ b/app.js @@ -96,8 +96,10 @@ async function initialize() { } const configExists = fs.existsSync("./config.json"); + console.log("Config exists:", configExists) if (configExists) { readConfigFromFile("./config.json"); + console.log("Config:", config) config.rooms.forEach(room => { addRoomToList(room); });