mirror of
https://github.com/reality/dbot.git
synced 2025-01-11 20:42:37 +01:00
add nerfed fix
This commit is contained in:
parent
721ed55598
commit
b9894b5597
@ -17,8 +17,8 @@ var fpx = function(dbot) {
|
|||||||
console.log(error);
|
console.log(error);
|
||||||
} else {
|
} else {
|
||||||
var name = results.photos[random].name,
|
var name = results.photos[random].name,
|
||||||
url = results.photos[random].image_url;
|
id = results.photos[random].id;
|
||||||
event.reply(dbot.t('5px_result',{'name':name,'url':url}));
|
event.reply(dbot.t('5px_result',{'name':name,'id':id}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"5px_result":{
|
"5px_result":{
|
||||||
"en": "{name} - {url}"
|
"en": "{name} - http://500px.com/photo/{id}"
|
||||||
},
|
},
|
||||||
"5px_error": {
|
"5px_error": {
|
||||||
"en": "Something went wrong :( Example: '~r500px'"
|
"en": "Something went wrong :( Example: '~r500px'"
|
||||||
|
Loading…
Reference in New Issue
Block a user