instance method IRC#channelMode

View Source on GitHub →

IRC#channelMode( channel, mode[, limit][, user][, ban_mask] ) → self
  • channel ( String ): Channel to apply mode
  • mode ( String ): Mode to apply
  • limit ( Number ): Optional - used in conjunction with l mode
  • user ( String ): Optional - used in conjunction with some modes
  • ban_mask ( String ): Optional - used in conjunction with b mode

Set various channel modes. For a full list of channel modes, see: http://docs.dal.net/docs/modes.html#2

Examples

irc_instance.channelMode( '#asl', '+im' ) // Makes `#asl` moderated and invite only