split on \n

This commit is contained in:
reality 2013-08-25 20:58:11 +00:00
parent 69f061c671
commit 96369ab604

View File

@ -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';