3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

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