|
|
|
@ -253,6 +253,7 @@ class ExtendedRichEmbed extends Discord.RichEmbed {
|
|
|
|
|
if (croppedValue.length < value.length)
|
|
|
|
|
croppedValue = croppedValue.replace(/\n.*$/g, '');
|
|
|
|
|
super.setDescription(croppedValue);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -267,6 +268,7 @@ class ExtendedRichEmbed extends Discord.RichEmbed {
|
|
|
|
|
if (croppedValue.length < value.length)
|
|
|
|
|
croppedValue = croppedValue.replace(/\n.*$/g, '');
|
|
|
|
|
super.addField(name, croppedValue);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|