mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 12:29:26 +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(', '),
|
||||
'album': body.tracks.items[0].album.name,
|
||||
'track': body.tracks.items[0].name,
|
||||
'url': t
|
||||
'url': t,
|
||||
'uri': body.tracks.items[0].uri
|
||||
}));
|
||||
} else {
|
||||
event.reply(dbot.t('not-found'));
|
||||
|
@ -21,11 +21,11 @@
|
||||
"it": "[Track] {artist} – {track} (dall' album {album})"
|
||||
},
|
||||
"found": {
|
||||
"en": "[{url}] {artist} – {track} (from {album})",
|
||||
"cy": "[{url}] {artist} – {track} (o'r albwm: {album})",
|
||||
"de": "[{url}] {artist} – {track} (aus dem Album {album})",
|
||||
"fr": "[{url}] {artist} – {track} (tiré de {album})",
|
||||
"it": "[{url}] {artist} – {track} (dall' album {album})"
|
||||
"en": "[{url} - {uri}] {artist} – {track} (from {album})",
|
||||
"cy": "[{url} - {uri}] {artist} – {track} (o'r albwm: {album})",
|
||||
"de": "[{url} - {uri}] {artist} – {track} (aus dem Album {album})",
|
||||
"fr": "[{url} - {uri}] {artist} – {track} (tiré de {album})",
|
||||
"it": "[{url} - {uri}] {artist} – {track} (dall' album {album})"
|
||||
},
|
||||
"not-found": {
|
||||
"en": "No results.",
|
||||
|
Loading…
Reference in New Issue
Block a user