Package fix again

Turns out my solution sucks
This commit is contained in:
tgpethan 2020-01-03 05:32:48 +00:00
parent 38912abd49
commit 478711815f

View file

@ -13,7 +13,7 @@ const requiredModules = [
];
let config;
if (fs.existsSync("./config/config.json")) {
config = require("./config/config.json");
config = JSON.parse(fs.readFileSync("./config/config.json"));
} else {
console.log("[Config] Config file doesn't exist! You probably haven't copied the example config in the config directory.");
console.log("[Config] Exiting...");