I just forgot to read from the file LOL

This commit is contained in:
MrMasrozYTLIVE 2024-06-09 09:53:11 +03:00
parent a3fbe7434a
commit 8ca1cc2b8f

2
app.js
View File

@ -97,7 +97,7 @@ async function initialize() {
const configExists = fs.existsSync("./config.json"); const configExists = fs.existsSync("./config.json");
if (configExists) { if (configExists) {
readConfigFromFile(); readConfigFromFile("./config.json");
config.rooms.forEach(room => { config.rooms.forEach(room => {
addRoomToList(room); addRoomToList(room);
}); });