diff --git a/scripts/ping.coffee b/scripts/ping.coffee index 39c7188..2b87ae8 100644 --- a/scripts/ping.coffee +++ b/scripts/ping.coffee @@ -24,3 +24,8 @@ module.exports = (robot) -> msg.send "Goodbye, cruel world." process.exit 0 + robot.respond /THANK YOU$/i, (msg) -> + msg.send "You're welcome." + + robot.respond /ありがと(?:.*)/i, (msg) -> + msg.send "どういたしまして〜"