server plugins

events

quit

The quit event, fired when the QUIT command is received from the server. When this is fired someone has quit from the irc network.

Event attributes:

  • user: The affected user.
  • message: The quit message.
client.on('quit', function (err, event) {
  console.log(event.user.getNick() + " quit: " + event.message);
});

functions

getServerInfo(network)
Arguments:
  • network (object) – The network to execute the command on.
Returns object serverInfo:
 

The server info about the network.