Skip to content

Commit

Permalink
docs(EmbedBuilder): @readonly length (discordjs#9778)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and almeidx committed Sep 24, 2023
1 parent c3c7432 commit def2ead
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/discord.js/src/structures/EmbedBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class EmbedBuilder extends BuildersEmbed {
/**
* The accumulated length for the embed title, description, fields, footer text, and author name.
* @type {number}
* @readonly
*/
get length() {
return embedLength(this.data);
Expand Down

0 comments on commit def2ead

Please sign in to comment.