3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00
This commit is contained in:
reality 2013-08-21 15:26:16 +00:00
parent fc4537bcea
commit 284a316cd5

View File

@ -79,6 +79,7 @@ var imgur = function(dbot) {
'.' + ext[_.random(0, ext.length - 1)];
dbot.db.imgur.totalHttpRequests += 1;
var image = request(testUrl, function(error, response, body) {
console.log(response.head);
// 492 is body.length of a removed image
gm(body).size(function(err, val) {
console.log(err);