From 474a8be4af4eb2bae6e80a893439d846ad4f7503 Mon Sep 17 00:00:00 2001 From: GramingFoxTeam Date: Sun, 25 Dec 2022 15:46:58 +0300 Subject: [PATCH] fix: config file not being read --- bots/discord/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/discord/index.js b/bots/discord/index.js index 069272c..d01b845 100644 --- a/bots/discord/index.js +++ b/bots/discord/index.js @@ -8,7 +8,7 @@ const __dirname = dirname(__filename); import HelperClient from '../../client/index.js'; export default async () => { -const config = JSON.parse(readFileSync('../config.json', 'utf-8')); +const config = JSON.parse(readFileSync('./config.json', 'utf-8')); const helper = new HelperClient(config);