     if cards?
       for i in [0...cards.length] by 1
         responseString += "\n#{i}: #{cards[i]}"
-    robot.messageRoom sender(msg), responseString
+    msg.reply responseString
 
   robot.respond /cah submit(?: ([0-4]+))+$/i, (msg) ->
     if sender(msg) == db.czar

      for i in [0...answers.length] by 1
        cards = answers[i][1]
        responseString += "\n#{i}: #{generate_phrase(db.blackCard, cards)}"
      robot.messageRoom db.czar, responseString

  robot.respond /cah choose ([0-9]+)$/i, (msg) ->
    if sender(msg) != db.czar

# @param msg: message object
# @return name of message sender
sender = (msg) ->
  return msg.message.user.name


module.exports = (robot) ->

  robot.respond /cah help$/i, (msg) ->
    msg.send helpSummary

