diff --git a/modules/config.js b/modules/config.js new file mode 100644 index 0000000..a5fe586 --- /dev/null +++ b/modules/config.js @@ -0,0 +1,7 @@ +const fs = require("fs"); + +module.exports = ()=>{ + if(!global.config) + global.config = JSON.parse(fs.readFileSync(__dirname + "/../packages/config.json")); + return global.config; +} \ No newline at end of file