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