Fixing imports and resolutions

This commit is contained in:
Logan Cusano
2023-03-26 20:32:21 -04:00
parent c15d8ca5ee
commit f995cd3578
2 changed files with 10 additions and 6 deletions

View File

@@ -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;