 
     for str in strings
       @bot.say target, str
+
+  sendPrivate: (envelope, strings...) ->
+    # Remove the room from the envelope and send as private message to user
+
+    if envelope.room
+      delete envelope.room
+
+    if envelope.user?.room
+      delete envelope.user.room
+
+    @send envelope, strings...
 
   topic: (envelope, strings...) ->
     data = strings.join " / "


    client_options['channels'] = options.rooms unless options.nickpass

    @robot.name = options.nick
    bot = new Irc.Client options.server, options.nick, client_options


# Hubot dependencies
{Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, Response} = require 'hubot'

# Custom Response class that adds a sendPrivate method
class IrcResponse extends Response
  sendPrivate: (strings...) ->
    @robot.adapter.sendPrivate @envelope, strings...

# Irc library
Irc = require 'irc'
