welcome plugin¶
events¶
-
welcome
¶
The welcome
event, fired when the RPL_WELCOME
command is received from
the server. When this is fired client.me.nick
gets set correctly and
client.welcomed
gets set to true
.
Event attributes:
nick
: Your nick in the welcome message received from the server.message
: The rest of the welcome message.
client.on('welcome', function (event) {
console.log("Welcome " + event.nick + ": " + event.message);
});