mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
split on \n
This commit is contained in:
parent
69f061c671
commit
96369ab604
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user