유명현

ADD: set default pushMessage with new keyword mamul event

...@@ -77,7 +77,10 @@ function handleEvent(event) { ...@@ -77,7 +77,10 @@ function handleEvent(event) {
77 return Promise.resolve( 77 return Promise.resolve(
78 client.replyMessage(event.replyToken, { 78 client.replyMessage(event.replyToken, {
79 type: "text", 79 type: "text",
80 - text: "매물이 등록되었습니다!\n등록된 매물: " + event.message.text, 80 + text: `매물이 등록되었습니다!\n등록된 매물: ${event.message.text}`,
81 + }),
82 + marketMultiSearch(event.message.text).then((res) => {
83 + client.pushMessage(event.source.userId, setCarouselMessage(res));
81 }) 84 })
82 ); 85 );
83 } 86 }
......