log quits

master
Semisol 2021-09-04 15:14:34 +03:00
parent 0b35370b31
commit 0c2a9f22a4
Signed by: Semisol
GPG Key ID: D1C04206D89306D5
1 changed files with 4 additions and 0 deletions

View File

@ -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);