gran cagon

This commit is contained in:
simio 2024-11-30 18:45:23 -03:00
parent 40f5bdcdc8
commit eba975983d

View File

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