김대욱

end

Showing 1 changed file with 6 additions and 3 deletions
......@@ -29,13 +29,16 @@ app.post('/hook', function (req, res) {
var cmd = message.text;
if(cmd == "영어"){
transen(eventObj.replyToken, eventObj.message.text);
var input = message.text;
transen(eventObj.replyToken, input);
}
else if(cmd == "프랑스어"){
transfr(eventObj.replyToken, eventObj.message.text);
var input = message.text;
transfr(eventObj.replyToken, input);
}
else if(cmd == "일본어"){
transja(eventObj.replyToken, eventObj.message.text);
var input = message.text;
transja(eventObj.replyToken, input);
}
res.sendStatus(200);
......