Skip to content

Instantly share code, notes, and snippets.

@chadmyers
Created November 23, 2011 21:20
Show Gist options
  • Save chadmyers/1389955 to your computer and use it in GitHub Desktop.
Save chadmyers/1389955 to your computer and use it in GitHub Desktop.
BOD Hubot Coffee
# Allows Hubot to give a look of disapproval.
#
# bod <name> - gives back the character for the look of disapproval.
module.exports = (robot) ->
robot.respond /bod\s?(.*)/i, (msg) ->
user_msg = msg.match[1].trim()
response = 'ಠ_ಠ - ' + user_msg + '\n' +
'<|>\n' +
'/ω\\\n'
msg.send(response)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment