From 0f9da5c40e2e91ed14d7efe0ddcac5afe51af3ca Mon Sep 17 00:00:00 2001 From: Douglas Gardner Date: Mon, 15 Apr 2013 01:59:00 +0000 Subject: [PATCH] replace "is" with pair of brackets (imgur) What imgur calls "title" is possibly better described as a caption. Most titles in imgur's gallery are full sentences, making the current behaviour of "xxx is yyy" fall flat, as the resulting string does not have satisfactory grammar. This commit changes the functionality from "[foo is bar]" to "[foo][bar]". Untested. --- modules/imgur/imgur.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgur/imgur.js b/modules/imgur/imgur.js index 90f091b..e84a4a9 100644 --- a/modules/imgur/imgur.js +++ b/modules/imgur/imgur.js @@ -14,7 +14,7 @@ var imgur = function(dbot) { imgData = imgData.data; info = '['; if(imgData.title) { - info += imgData.title + ' is '; + info += imgData.title + ']['; } if(imgData.type) { if(imgData.animated) {