diff --git a/index.js b/index.js index 441410c..699f851 100644 --- a/index.js +++ b/index.js @@ -235,6 +235,10 @@ bot.on("part", (evt)=>{ if (evt.nick === conf.user.nick) return logS(`${evt.nick}!${evt.ident}@${evt.hostname}${evt.gecos?`#${evt.gecos}`:""} (${evt.tags["unrealircd.org/userip"] || "???"}) parts`) }) +bot.on("quit", (evt)=>{ + if (evt.nick === conf.user.nick) return + logS(`${evt.nick}!${evt.ident}@${evt.hostname}${evt.gecos?`#${evt.gecos}`:""} (${evt.tags["unrealircd.org/userip"] || "???"}) quits`) +}) bot.on("kick", (e) => { if (e.kicked === conf.user.nick && e.channel === conf.channel) { bot.join(conf.channel);