3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

add nerfed fix

This commit is contained in:
reality 2014-02-20 20:27:21 +00:00
parent 721ed55598
commit b9894b5597
2 changed files with 3 additions and 3 deletions

View File

@ -17,8 +17,8 @@ var fpx = function(dbot) {
console.log(error);
} else {
var name = results.photos[random].name,
url = results.photos[random].image_url;
event.reply(dbot.t('5px_result',{'name':name,'url':url}));
id = results.photos[random].id;
event.reply(dbot.t('5px_result',{'name':name,'id':id}));
}
});
}

View File

@ -1,6 +1,6 @@
{
"5px_result":{
"en": "{name} - {url}"
"en": "{name} - http://500px.com/photo/{id}"
},
"5px_error": {
"en": "Something went wrong :( Example: '~r500px'"