mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
Include spotify desktop URI in ~syt results
This commit is contained in:
parent
167525b5b9
commit
0118f962b6
@ -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'));
|
||||||
|
Loading…
Reference in New Issue
Block a user