-
-
Save 65Mustang289/8c64bace014190d7d4b26034f7f287d8 to your computer and use it in GitHub Desktop.
This file contains 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
Add to scripts/sample.js// Description: | |
// Sample commands | |
// | |
// Commands: | |
// hubot hello | |
// | |
// Author: | |
// Your Name and/or Email Here | |
module.exports = function(robot) { | |
robot.respond(/hello/i, function(msg) { | |
msg.reply("world"); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment