Skip to content

Instantly share code, notes, and snippets.

@take
Created September 13, 2012 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save take/3711759 to your computer and use it in GitHub Desktop.
Save take/3711759 to your computer and use it in GitHub Desktop.
# Description:
# tanshiba
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
#
# Author:
# takehiro
respond_hash = [
"単芝とはいい度胸だな"
"do u like tanshiba?"
"w"
]
module.exports = (robot) ->
robot.hear /(^w$|^w$|[^w]w$|[^w]w$)/i, (msg) ->
msg.send msg.random respond_hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment