mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
fixed tabs/spaces and added spotify uri for desktop app linkability
This commit is contained in:
parent
217e65df96
commit
10c642c94f
@ -107,7 +107,8 @@ var spotify = function(dbot) {
|
|||||||
return a.name }).join(', '),
|
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'));
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
"it": "[Track] {artist} – {track} (dall' album {album})"
|
"it": "[Track] {artist} – {track} (dall' album {album})"
|
||||||
},
|
},
|
||||||
"found": {
|
"found": {
|
||||||
"en": "[{url}] {artist} – {track} (from {album})",
|
"en": "[{url} - {uri}] {artist} – {track} (from {album})",
|
||||||
"cy": "[{url}] {artist} – {track} (o'r albwm: {album})",
|
"cy": "[{url} - {uri}] {artist} – {track} (o'r albwm: {album})",
|
||||||
"de": "[{url}] {artist} – {track} (aus dem Album {album})",
|
"de": "[{url} - {uri}] {artist} – {track} (aus dem Album {album})",
|
||||||
"fr": "[{url}] {artist} – {track} (tiré de {album})",
|
"fr": "[{url} - {uri}] {artist} – {track} (tiré de {album})",
|
||||||
"it": "[{url}] {artist} – {track} (dall' album {album})"
|
"it": "[{url} - {uri}] {artist} – {track} (dall' album {album})"
|
||||||
},
|
},
|
||||||
"not-found": {
|
"not-found": {
|
||||||
"en": "No results.",
|
"en": "No results.",
|
||||||
|
Loading…
Reference in New Issue
Block a user