김대욱

시발 좀

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