- Everyone sees all that happens
- By placing tools in the middle of the conversation everyone is pairing all of the time
- Teaching by doing
- Communicate by doing
- Accessibility
- Empowering and democratizing
- Turns Chat into a shared commandline
- Newcomers learn by watching exprienced users
- Help with onboarding process
- Disseminates knowledge
- Automate! Automate! Automate!
Last active
January 2, 2016 21:59
-
-
Save AgentO3/8367324 to your computer and use it in GitHub Desktop.
Overview of the Hubot API
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
# Description: | |
# A simple overview of the Hubot API | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: | |
# hubot command <optional> - This is a description of what this task does. | |
# | |
# Notes: | |
# None | |
# | |
# Author: | |
# o3Design | |
module.exports = (robot) -> | |
robot.respond /simple command/i, (msg) -> | |
msg.send "Wow that was easy!" | |
robot.respond /single parameter (.*)?/i, (msg) -> | |
msg.send "Just me my self and #{msg.match[1]}" | |
robot.respond /remind me to (.*) at (.*)?/i, (msg) -> | |
msg.send "Ok, I will remind you to #{msg.match[1]} at #{msg.match[2]}" | |
robot.respond /commands(.*)?/i, (msg) -> | |
msg.send OPSURL | |
robot.hear /doge me/i, (msg) -> | |
msg.http("http://dogeme.rowanmanning.com/random") | |
.get() (err, res, body) -> | |
msg.send JSON.parse(body).doge |
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
// Description: | |
// A simple overview of the Hubot API | |
// | |
// Configuration: | |
// None | |
// | |
// Commands: | |
// hubot command <optional> - This is a description of what this task does. | |
// | |
// Notes: | |
// None | |
// | |
// Author: | |
// o3Design | |
module.exports = function (robot) { | |
robot.respond(/hello?/i, function (msg) { | |
msg.send("world"); | |
}); | |
} |
http://www.youtube.com/watch?v=NST3u-GjjFw - Jesse Newland - @jnewland http://www.youtube.com/watch?v=pCVvYCjvoZI - Mark Imbriaco - @markimbriaco http://en.wikipedia.org/wiki/Chatterbot - Wikipedia of the ChatBot http://hubot-script-catalog.herokuapp.com/recent - Catalog of Scripts https://github.com/blog/968-say-hello-to-hubot https://github.com/github/hubot/blob/master/docs/scripting.md http://gbin.github.io/err/ https://twitter.com/rtomayko http://www.megadroid.com/Robots/hubot.htm http://rubular.com/r/vnnwHvt75L
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment