Event: onInvite

This event is called when someone is inviting you to a channel.

Synopsis

function onInvite(server, origin, channel)

Arguments

  • server: the current server,
  • origin: who invited you,
  • channel: on which channel you are invited to.