From 8a2dd076a4eff8dad0c7045b896ab71e243c4075 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 13 Apr 2013 15:33:43 +0000 Subject: [PATCH] show width/height of imgur image too [#350] --- modules/imgur/imgur.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/imgur/imgur.js b/modules/imgur/imgur.js index e47928c..217f159 100644 --- a/modules/imgur/imgur.js +++ b/modules/imgur/imgur.js @@ -21,7 +21,8 @@ var imgur = function(dbot) { } else { info += 'a non-animated ' + imgData.type.split('/')[1] + ' with '; } - info += imgData.views + ' views].'; + info += imgData.views + ' views ('; + info += imgData.width + 'x' + imgData.height + ')].'; } return info;