Skip to content

Instantly share code, notes, and snippets.

@mm53bar
Created July 11, 2013 20:11
Show Gist options
  • Save mm53bar/5978792 to your computer and use it in GitHub Desktop.
Save mm53bar/5978792 to your computer and use it in GitHub Desktop.
Hubot script for What Would Johnn Four Say?
# Description:
# Hubot, tell me what Johnn Four would say about a topic.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# "hubot what would Johnn say about stuff" will give you what Johnn would say about "stuff"
nuggets = [
"The key to % is to understand the process taxonomy strategy effect."
"When it comes to %, you've got to like process taxonomy strategy. Like never before."
"You can do % when you process taxonomy strategy it."
"The process taxonomy strategy is mightier than the sword."
"% cuts process taxonomy strategy time in half."
"Maybe she's born with it, maybe it's process taxonomy strategy. Either way, it has not effect on %."
]
module.exports = (robot) ->
robot.hear /what would johnn say about (.*)$/i, (msg) ->
phrase = msg.match[1]
nugget = msg.random nuggets
msg.reply nugget.replace "%", phrase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment