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:52:03 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e2cae2a3609c277fd716864a4b7ca28d767afa19
e2cae2a3
1 parent
82a725e9
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 @
e2cae2a
...
...
@@ -131,15 +131,15 @@ function handleEvent(event) {
type
:
'video'
}
};
var
videourl
=
{
type
:
'url'
,
label
:
'관련 영상'
,
url
:
''
};
request
(
options
,
function
(
error
,
result
,
body
){
if
(
error
)
throw
new
Error
(
error
);
var
videourl
=
{
type
:
'uri'
,
label
:
'관련 영상'
,
uri
:
''
};
var
temp1
=
body
.
split
(
':'
);
videourl
.
ur
l
+=
"https://www.youtube.com/watch?v="
+
temp1
[
13
].
substr
(
2
,
11
);
videourl
.
ur
i
+=
"https://www.youtube.com/watch?v="
+
temp1
[
13
].
substr
(
2
,
11
);
console
.
log
(
videourl
.
ur
l
);
console
.
log
(
videourl
.
ur
i
);
client
.
replyMessage
(
event
.
replyToken
,
videourl
).
then
(
resolve
).
catch
(
reject
);
});
});
...
...
Please
register
or
login
to post a comment