Event: onChannelMode

This event is triggered when someone changed the channel's mode.

Synopsis

function onChannelMode(server, origin, channel, mode, arg)

Arguments

  • server: the current server,
  • origin: the person who changed the mode,
  • channel: the channel,
  • mode: the new mode,
  • arg: the mode argument, if supported.