forked from GitHub/dbot
split on \n
This commit is contained in:
parent
69f061c671
commit
96369ab604
@ -42,7 +42,7 @@ var imgur = function(dbot) {
|
|||||||
info += albumData.title + ' - ';
|
info += albumData.title + ' - ';
|
||||||
}
|
}
|
||||||
if(albumData.description) {
|
if(albumData.description) {
|
||||||
info += albumData.description + ' is ';
|
info += albumData.description.split('\n')[0] + ' is ';
|
||||||
}
|
}
|
||||||
info += 'an album with ' + albumData.images_count + ' images ';
|
info += 'an album with ' + albumData.images_count + ' images ';
|
||||||
info += 'and ' + albumData.views + ' views';
|
info += 'and ' + albumData.views + ' views';
|
||||||
|
Loading…
Reference in New Issue
Block a user