유명현

EDIT: display keyword when nonMamulMessage

...@@ -30,6 +30,20 @@ function setCarouselMessage(mamuls, keyword) { ...@@ -30,6 +30,20 @@ function setCarouselMessage(mamuls, keyword) {
30 "-" 30 "-"
31 ), 31 ),
32 }; 32 };
33 + nonMamulMessage["contents"]["header"] = {
34 + type: "box",
35 + layout: "horizontal",
36 + contents: [
37 + { type: "text", text: "매무리 봇", size: "sm", color: "#1DB446" },
38 + {
39 + type: "text",
40 + text: `키워드: ${keyword}`,
41 + align: "end",
42 + color: "#1DB446",
43 + weight: "bold",
44 + },
45 + ],
46 + };
33 return nonMamulMessage; 47 return nonMamulMessage;
34 } 48 }
35 for (i = 0; i < mamuls.length; i++) { 49 for (i = 0; i < mamuls.length; i++) {
......