From eba975983d2cdd5000d2cd703f2719bf57c10417 Mon Sep 17 00:00:00 2001 From: gor_down Date: Sat, 30 Nov 2024 18:45:23 -0300 Subject: [PATCH] gran cagon --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index bd2f293..e9262ec 100644 --- a/index.js +++ b/index.js @@ -1,10 +1,10 @@ const fs = require('fs') const irc = require('irc'); -const settings = JSON.parse(fs.readFileSync(rootDir + '/settings.json')); const readline = require('readline') const model = 'user,date,message' const { dirname } = require('path'); const rootDir = dirname(require.main.filename); +const settings = JSON.parse(fs.readFileSync(rootDir + '/settings.json')); let currentChannel = settings.channels[0]