[root@node1 ~]# cd myhubot/scripts[root@node1 scripts]# vim example.coffee (编辑并修改) ....# Uncomment the ones you want to try and experiment with.## These are from the scripting documentation: https://github.com/github/hubot/blob/master/docs/scripting.mdmodule.exports = (robot) -> robot.hear /jevic/i, (res) -> res.send "https://jevic.github.io"# robot.respond /open the (.*) doors/i, (res) ->....重启hubot [root@node1 ~]# nohup ./bin/hubot -a bearychat 2&1>> hubot.log &