Fixing imports and resolutions
This commit is contained in:
@@ -6,7 +6,8 @@ const { readFileSync } = require('fs');
|
||||
const path = require("path");
|
||||
|
||||
function getConfig() {
|
||||
return JSON.parse(readFileSync(path.resolve("../config/botConfig.json")));
|
||||
const botConfigObj = JSON.parse(readFileSync(path.resolve("./config/botConfig.json")))
|
||||
return botConfigObj;
|
||||
}
|
||||
exports.getConfig = getConfig;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user