motd plugin¶
events¶
-
motd
¶
The motd
event, fired when the end of the MOTD (Message Of The Day) is received from the server.
Event attributes:
motd
: The actual MOTD sent by the server.
Example:
client.on('motd', function (event) {
console.log("Connected to " + event.network + ". MOTD: " + event.motd);
client.join('##test'); // autojoins a channel when properly connected
});