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-25 17:29:11 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
faac79778fd9f90450882a82e455c026e70ae8c8
faac7977
1 parent
006096fb
ADD: set default pushMessage with new keyword mamul event
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
server/chatbot/index.js
server/chatbot/index.js
View file @
faac797
...
...
@@ -77,7 +77,10 @@ function handleEvent(event) {
return
Promise
.
resolve
(
client
.
replyMessage
(
event
.
replyToken
,
{
type
:
"text"
,
text
:
"매물이 등록되었습니다!\n등록된 매물: "
+
event
.
message
.
text
,
text
:
`매물이 등록되었습니다!\n등록된 매물:
${
event
.
message
.
text
}
`
,
}),
marketMultiSearch
(
event
.
message
.
text
).
then
((
res
)
=>
{
client
.
pushMessage
(
event
.
source
.
userId
,
setCarouselMessage
(
res
));
})
);
}
...
...
Please
register
or
login
to post a comment