Include spotify desktop URI in ~syt results

This commit is contained in:
Scritches 2018-03-24 21:11:46 -04:00
parent 167525b5b9
commit 0118f962b6

View File

@ -129,7 +129,8 @@ var spotify = function(dbot) {
function(a) { return a.name }).join(', '), function(a) { return a.name }).join(', '),
'album': body.tracks.items[0].album.name, 'album': body.tracks.items[0].album.name,
'track': body.tracks.items[0].name, 'track': body.tracks.items[0].name,
'url': t 'url': t,
'uri': body.tracks.items[0].uri
})); }));
} else { } else {
event.reply(dbot.t('not-found')); event.reply(dbot.t('not-found'));