From dd92b952a6c08688edd57b373287e8fc863030a1 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Sat, 25 Apr 2015 14:24:13 +0200 Subject: [PATCH] aggiunta integrazione github sperimentale --- scripts/github.coffee | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/github.coffee diff --git a/scripts/github.coffee b/scripts/github.coffee new file mode 100644 index 0000000..e7fc684 --- /dev/null +++ b/scripts/github.coffee @@ -0,0 +1,8 @@ +# Description: +# interazioni tra asjon e github + +module.exports = (robot) -> + robot.router.post '/hubot/githubhook/:room', (req, res) -> + res.end 200 + console.log req.body + robot.send req.params.room, JSON.stringify req.body