김대욱

wish7

Showing 1 changed file with 1 additions and 0 deletions
......@@ -16,6 +16,7 @@ app.use(bodyParser.json());
var cmd;
app.post('/hook', function (req, res) {
var eventObj = req.body.events[0];
var message = eventObj.message;
cmd = message.text;
});
......