We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c1b089 commit 0a120abCopy full SHA for 0a120ab
src/BetterEmbed.ts
@@ -80,6 +80,10 @@ export class BetterEmbed extends MessageEmbed {
80
81
return new BetterEmbed(setValues(template as AnyObject, values));
82
}
83
+
84
+ public static LENGTH_LIMITS = limits;
85
86
+ public static TEMPLATES = templates;
87
88
public checkSize() {
89
if (this.title && this.title.length > limits.title) throw new RangeError(`'embed.title' is too long: ${this.title.length} (max: ${limits.title}).`);
0 commit comments