log quits
parent
0b35370b31
commit
0c2a9f22a4
4
index.js
4
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);
|
||||
|
|
Reference in New Issue