typo & es6
This commit is contained in:
parent
97d1ed24cc
commit
e059d189a4
@ -20,10 +20,10 @@ class irc {
|
||||
this.username = this.options.username || "test";
|
||||
this.realname = this.options.realname || "test";
|
||||
this.channels = this.options.channels || [];
|
||||
this._recachetime = 60 * 5; // 10 minutes
|
||||
this._recachetime = 60 * 5; // 5 minutes
|
||||
this._cmd = new Map();
|
||||
|
||||
const files = fs.readdirSync(__dirname + '/irc/');
|
||||
const files = fs.readdirSync(`${__dirname}/irc/`);
|
||||
for(let file in files) {
|
||||
if(files[file].substr(-3, 3) === ".js") {
|
||||
logger.info(`loading cmd: ${files[file]}`);
|
||||
|
Loading…
Reference in New Issue
Block a user