departures
This commit is contained in:
parent
a4e58ace16
commit
49432307e8
13
index.js
13
index.js
@ -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)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user