departures

This commit is contained in:
simio 2024-11-30 22:22:08 -03:00
parent a4e58ace16
commit 49432307e8

View File

@ -35,7 +35,18 @@ client.addListener('registered', () => {
if (nick === settings.username) sendMessage(channel, "# Appears as Jhenna_Hina.http://www.mermeliz.com/hina/dl/Jhenna_Hina.AVB")
})
client.addListener('quit', (channel, nick, by, reason) => {
client.addListener('part', (channel, nick, reason, _message) => {
console.log(channel)
logMessage(nick, channel, "Parted: " + reason)
})
client.addListener('quit', (nick, reason, channels, _message) => {
for(channel in channels){
logMessage(nick, channel, "Left.")
}
})
client.addListener('kick', (channel, nick, by, reason, _message) => {
logMessage(nick, channel, "Kicked by: " + by + ": " + reason)
})