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