Created
October 19, 2012 00:14
-
-
Save kmnk/3915536 to your computer and use it in GitHub Desktop.
sample for using send and notice commands on hubot script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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