mirror of
https://github.com/reality/dbot.git
synced 2025-02-18 14:30:43 +01:00
https instead of http for ~listening youtube link
This commit is contained in:
parent
0118f962b6
commit
ff7be1f31d
@ -287,7 +287,7 @@ var lastfm = function(dbot) {
|
|||||||
if(_.isObject(body) && _.has(body, 'items') && body.items.length > 0) {
|
if(_.isObject(body) && _.has(body, 'items') && body.items.length > 0) {
|
||||||
var link = body.items[0].id.videoId
|
var link = body.items[0].id.videoId
|
||||||
if(link) {
|
if(link) {
|
||||||
cb(null,"http://youtu.be/" + link);
|
cb(null,"https://youtu.be/" + link);
|
||||||
} else {
|
} else {
|
||||||
cb(null, undefined);
|
cb(null, undefined);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user