mirror of
https://github.com/reality/dbot.git
synced 2025-02-17 14:01:04 +01:00
quote add for db branch in imgur
This commit is contained in:
parent
48ce88490d
commit
0bc0a1bdb7
@ -58,8 +58,8 @@ var imgur = function(dbot) {
|
|||||||
if (_.contains(category, testUrl)){
|
if (_.contains(category, testUrl)){
|
||||||
// there's probably less than 62^5 chance of this happening
|
// there's probably less than 62^5 chance of this happening
|
||||||
} else {
|
} else {
|
||||||
if(!_.has(dbot.db.quoteArrs, category)) dbot.db.quoteArrs[category] = [];
|
dbot.api.quotes.addQuote(category, testUrl,
|
||||||
dbot.db.quoteArrs[category].push(testUrl);
|
dbot.config.name, function() { });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user