src code

instance method IRC#raw

IRC#raw(data) → self
  • data (String) – Raw IRC command to be sent to server

Send a raw IRC command to the server. Used internally by the convenience methods. Note: It is not recommended to use this method, convenience methods should be used instead to ensure data consistency.

Examples

irc_instance.raw(':YourNick TOPIC #channel :LOL This is awesome!'); // Set a channel topic