Created
December 3, 2013 11:20
-
-
Save daxanya2/7767598 to your computer and use it in GitHub Desktop.
Hubot-scriptsのmsg.randomを学ぶ ref: http://qiita.com/daxanya2/items/4d7a8c94fa0756c97b5d
This file contains hidden or 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 /こんにちは/, (msg) -> | |
| msg.send msg.random ["ちわー", "こんにちはっ", "ちゃーす", "こ、こんにちは"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment