Skip to content

Instantly share code, notes, and snippets.

@raphaelbastide
Last active December 13, 2015 18:58
Show Gist options
  • Save raphaelbastide/4959599 to your computer and use it in GitHub Desktop.
Save raphaelbastide/4959599 to your computer and use it in GitHub Desktop.
Hubot appologies
# Description:
# Makes Hubot appologies for its stupidness
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot is stupid
#
# Author:
# raphaelbastide
appologies = [
"Err… sorry…",
"I know, sorry for that.",
"Come on! I am a bot!",
"And what if YOU are stupid? AH!",
": |",
"I would love to be smarter",
"Sorry dude, here is a little something to make it up to you https://lh3.googleusercontent.com/-IJbcEWT3g4Q/UR1y8Ll5y6I/AAAAAAAAGv0/_Oc0eZQbxa0/s250/60.gif"
]
module.exports = (robot) ->
robot.hear /
stpd hubot|
stupid hubot|
hubot is stupid|
hubot pls|
hubot est stupide|
hubot t'es con|
hubot tu es con|
hubot tu es stupide|
hubot you are stupid/i, (msg) ->
msg.send msg.random appologies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment