mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 06:19:24 +01:00
Merge pull request #666 from Scritches/master
fixed tabs/spaces and added spotify uri for desktop app linkability
This commit is contained in:
commit
9a7e1ab4bf
@ -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