mirror of
https://github.com/reality/dbot.git
synced 2025-01-24 11:04:13 +01:00
return fbman to ri results
This commit is contained in:
parent
2f9133fcee
commit
6b7b5494f6
@ -120,7 +120,7 @@ var imgur = function(dbot) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
'getGoodRandomImage': function(callback) {
|
'getGoodRandomImage': function(callback) {
|
||||||
this.api.getRandomImage(function(url, slug, hash) {
|
this.api.getRandomImage(function(url, slug, hash, fbman) {
|
||||||
this.api.getImageInfo(slug, function(imgData) {
|
this.api.getImageInfo(slug, function(imgData) {
|
||||||
if(!_.isUndefined(imgData) &&
|
if(!_.isUndefined(imgData) &&
|
||||||
imgData.data &&
|
imgData.data &&
|
||||||
|
Loading…
Reference in New Issue
Block a user