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-29 01:32:58 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e116133067bd9ff91087957ae1b02b1047725aad
e1161330
1 parent
ed6df200
EDIT: multiCheckMamul - include mamul keyword info
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
server/chatbot/check/checkMamul.js
server/chatbot/check/checkMamul.js
View file @
e116133
...
...
@@ -15,7 +15,13 @@ const multiCheckMamul = (client) => {
for
(
let
i
=
0
,
pending
=
Promise
.
resolve
();
i
<
keywords
.
length
;
i
++
)
{
pending
=
db
.
getUsersByKeyword
(
keywords
[
i
]).
then
((
userIds
)
=>
{
marketMultiSearch
(
keywords
[
i
]).
then
((
res
)
=>
{
client
.
multicast
(
userIds
,
[
setCarouselMessage
(
res
)]);
client
.
multicast
(
userIds
,
[
{
type
:
"text"
,
text
:
`유저님의
${
keywords
[
i
]}
매물 알림이 도착했어요!`
,
},
setCarouselMessage
(
res
),
]);
});
});
}
...
...
Please
register
or
login
to post a comment