gran cagon
This commit is contained in:
parent
40f5bdcdc8
commit
eba975983d
2
index.js
2
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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user