4 315
modifications
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 85 : | Ligne 85 : | ||
}); | }); | ||
// Événement whois | // Événement whois & réception de la réponse du whois | ||
bot.on('whois', function(event) { | bot.on('whois', function(event) { | ||
console.log(event); | console.log(event); | ||
}); | }); | ||
// Événement join | // Événement join & réception des joins | ||
bot.on('join', function(event) { | bot.on('join', function(event) { | ||
console.log('user joined', event); | console.log('user joined', event); | ||
}); | }); | ||
// Événement userlist | // Événement userlist & réception des pseudos du salon concerné. | ||
bot.on('userlist', function(event) { | bot.on('userlist', function(event) { | ||
console.log('userlist for', event.channel, event.users); | console.log('userlist for', event.channel, event.users); | ||
}); | }); | ||
// Événement part | // Événement part & réception d'un part | ||
bot.on('part', function(event) { | bot.on('part', function(event) { | ||
console.log('user part', event); | console.log('user part', event); |