instance method IRC#privmsg
IRC#privmsg(receiver, message [, protect]) → self
-
receiver
(String
) – Recipient of message, can be either a user nick or a channel. -
message
(String
) – Message to send. -
protect
(Boolean
) – Flood protection for long messages, iftrue
will delay messages. Default:false
.
Send a message to a user or channel. privmsg
will automagically split long messages into multiple messages.
Examples
irc_instance.privmsg('#asl', 'What\'s up ladiiieeeessssss!?'); // Ask the ladies `what's up`