File tree Expand file tree Collapse file tree 1 file changed +0
-1
lines changed Expand file tree Collapse file tree 1 file changed +0
-1
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ class BetterEmbed extends MessageEmbed {
8383 if ( this . title && this . title . length > limits . title ) throw new RangeError ( `embed.title is too long (${ limits . title } ).` ) ;
8484 if ( this . author ?. name && this . author . name . length > limits . author . name ) throw new RangeError ( `embed.author.name is too long (${ limits . author . name } ).` ) ;
8585 if ( this . description && this . description . length > limits . description ) throw new RangeError ( `embed.description is too long (${ limits . description } ).` ) ;
86- if ( this . title && this . title . length > limits . title ) throw new RangeError ( `embed.title is too long (${ limits . title } ).` ) ;
8786 if ( this . fields ?. length > limits . fields . size ) throw new RangeError ( `Too much fields (${ limits . fields . size } ).` ) ;
8887 this . fields . forEach ( field => {
8988 if ( field . name ?. length > limits . fields . name ) throw new RangeError ( `embed.fields[${ this . fields . indexOf ( field ) } ].name is too long (${ limits . fields . name } ).` ) ;
You can’t perform that action at this time.
0 commit comments