김대욱

제발16

Showing 1 changed file with 0 additions and 13 deletions
......@@ -48,25 +48,12 @@ app.post('/hook', function (req, res) {
var cmd = eventObj.message.text;
if(cmd == "영어"){
var eventObj = req.body.events[0];
var source = eventObj.source;
var message = eventObj.message;
transen(eventObj.replyToken, eventObj.message.text);
}
else if(cmd == "프랑스어"){
var eventObj = req.body.events[0];
var source = eventObj.source;
var message = eventObj.message;
transfr(eventObj.replyToken, eventObj.message.text);
}
else if(cmd == "일본어"){
var eventObj = req.body.events[0];
var source = eventObj.source;
var message = eventObj.message;
transja(eventObj.replyToken, eventObj.message.text);
}
......