Toggle navigation
Toggle navigation
This project
Loading...
Sign in
방승일
/
mamuri-bot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
유명현
2022-05-30 21:55:58 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bf2ecbe7cf1fb94c5728f4e09127a318c507b154
bf2ecbe7
1 parent
128c7e26
EDIT: display keyword when nonMamulMessage
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
server/chatbot/message/setCarouselMessage.js
server/chatbot/message/setCarouselMessage.js
View file @
bf2ecbe
...
...
@@ -30,6 +30,20 @@ function setCarouselMessage(mamuls, keyword) {
"-"
),
};
nonMamulMessage
[
"contents"
][
"header"
]
=
{
type
:
"box"
,
layout
:
"horizontal"
,
contents
:
[
{
type
:
"text"
,
text
:
"매무리 봇"
,
size
:
"sm"
,
color
:
"#1DB446"
},
{
type
:
"text"
,
text
:
`키워드:
${
keyword
}
`
,
align
:
"end"
,
color
:
"#1DB446"
,
weight
:
"bold"
,
},
],
};
return
nonMamulMessage
;
}
for
(
i
=
0
;
i
<
mamuls
.
length
;
i
++
)
{
...
...
Please
register
or
login
to post a comment