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