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 22:54:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f4d16646ab3a5cd99e55c40969c92fc243e6b2c8
f4d16646
1 parent
e2cae2a3
Update concert.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
concert.js
concert.js
View file @
f4d1664
...
...
@@ -134,12 +134,12 @@ function handleEvent(event) {
request
(
options
,
function
(
error
,
result
,
body
){
if
(
error
)
throw
new
Error
(
error
);
var
videourl
=
{
type
:
'
uri'
,
label
:
'관련 영상'
,
uri
:
''
};
var
videourl
=
{
type
:
'
location'
,
label
:
'관련 영상'
,
title
:
'name'
,
address
:
''
};
var
temp1
=
body
.
split
(
':'
);
videourl
.
uri
+=
"https://www.youtube.com/watch?v="
+
temp1
[
13
].
substr
(
2
,
11
);
videourl
.
address
+=
"https://www.youtube.com/watch?v="
+
temp1
[
13
].
substr
(
2
,
11
);
console
.
log
(
videourl
.
uri
);
console
.
log
(
videourl
.
address
);
client
.
replyMessage
(
event
.
replyToken
,
videourl
).
then
(
resolve
).
catch
(
reject
);
});
});
...
...
Please
register
or
login
to post a comment