3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 06:19:24 +01:00

https instead of http for ~listening youtube link

This commit is contained in:
Scritches 2018-03-24 22:10:57 -04:00
parent 0118f962b6
commit ff7be1f31d

View File

@ -287,7 +287,7 @@ var lastfm = function(dbot) {
if(_.isObject(body) && _.has(body, 'items') && body.items.length > 0) {
var link = body.items[0].id.videoId
if(link) {
cb(null,"http://youtu.be/" + link);
cb(null,"https://youtu.be/" + link);
} else {
cb(null, undefined);
}