From 96369ab6048bf8892da45f00661ac9b8898b331a Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 25 Aug 2013 20:58:11 +0000 Subject: [PATCH] split on \n --- 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 6d4ce27..3cab59c 100644 --- a/modules/imgur/imgur.js +++ b/modules/imgur/imgur.js @@ -42,7 +42,7 @@ var imgur = function(dbot) { info += albumData.title + ' - '; } if(albumData.description) { - info += albumData.description + ' is '; + info += albumData.description.split('\n')[0] + ' is '; } info += 'an album with ' + albumData.images_count + ' images '; info += 'and ' + albumData.views + ' views';