Toggle navigation
Toggle navigation
This project
Loading...
Sign in
은승우
/
LINEBOT
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
은승우
2019-12-05 11:35:13 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1df4ea094013c025510eca58a1824ea4ccc94e14
1df4ea09
1 parent
6735894d
Update app.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
app.js
app.js
View file @
1df4ea0
...
...
@@ -82,7 +82,7 @@ function handleEvent(event) {
}
else
if
(
event
.
type
==
'message'
&&
event
.
message
.
type
==
'image'
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
client
.
replyMessage
(
event
.
replyToken
,
event
.
message
).
then
(
resolve
).
catch
(
reject
);
client
.
replyMessage
(
event
.
replyToken
,
event
.
message
.
originalContentUrl
).
then
(
resolve
).
catch
(
reject
);
/*console.log("!");
var cheerio = require('cheerio');
...
...
@@ -139,9 +139,6 @@ function handleEvent(event) {
client.replyMessage(event.replyToken,result).then(resolve).catch(reject);
});
});*/
})
}
else
if
(
event
.
type
==
'message'
&&
event
.
message
.
type
==
'text'
)
...
...
Please
register
or
login
to post a comment