This commit is contained in:
Flummi
2018-02-28 04:34:52 +01:00
parent 2940b05518
commit 59be967f29
23 changed files with 96 additions and 26 deletions

View File

@@ -39,12 +39,14 @@ export class irc extends EventEmitter {
this.username = this.options.username || "test";
this.realname = this.options.realname || "test";
this.channels = this.options.channels || [];
this.set = this.options.set || "all";
this._recachetime = 60 * 30; // 30 minutes
this._cmd = new Map();
modules.forEach(mod => mod(this));
this.server = {
set: this.set,
motd: "",
me: {},
channel: [],