fix: config file not being read

This commit is contained in:
GramingFoxTeam
2022-12-25 15:46:58 +03:00
parent d26d533174
commit 474a8be4af

View File

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