Last active
October 30, 2015 13:56
-
-
Save keita03301995/e9205d59324d9a14668a to your computer and use it in GitHub Desktop.
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
module.exports = (robot) -> | |
robot.hear /煽り (.*)/i, (msg) -> | |
num = (Math.floor(Math.random() * 100 ) % 3) + 1 | |
if num == 1 | |
msg.send "#{msg.match[1]}、そろそろ気付きな?髪の薄さに" | |
else if num == 2 | |
msg.send "#{msg.match[1]}、脳みそがスッキリしてそうでい>いですね" | |
else | |
msg.send "#{msg.match[1]}、のけ" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment