3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

quote add for db branch in imgur

This commit is contained in:
reality 2013-05-20 15:40:13 +00:00
parent 48ce88490d
commit 0bc0a1bdb7

View File

@ -58,8 +58,8 @@ var imgur = function(dbot) {
if (_.contains(category, testUrl)){
// there's probably less than 62^5 chance of this happening
} else {
if(!_.has(dbot.db.quoteArrs, category)) dbot.db.quoteArrs[category] = [];
dbot.db.quoteArrs[category].push(testUrl);
dbot.api.quotes.addQuote(category, testUrl,
dbot.config.name, function() { });
}
}
}