Skip to content

Instantly share code, notes, and snippets.

@kmnk
Created October 19, 2012 00:14
Show Gist options
  • Save kmnk/3915536 to your computer and use it in GitHub Desktop.
Save kmnk/3915536 to your computer and use it in GitHub Desktop.
sample for using send and notice commands on hubot script
module.exports = (robot) ->
robot.respond /hello/, (msg) ->
msg.send ['hello', msg.message.user.name].join ' '
msg.notice ['hello', msg.message.user.name].join ' '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment