src code

instance method IRC#kick

IRC#kick(channel, user [, comment]) → self
  • channel (String) – Chennel to kick user from.
  • user (String) – User to kick.
  • comment (String) – Optional comment for kicking.

Kick a user from a channel that you haver operator privelages for.

Examples

irc_instance.kick('#asl', 'some_douche'); // Kick `some_douche` from `#asl`
irc_instance.kick('#asl', 'pedobear', 'TOO OLD!'); // Kick user with a comment