This commit is contained in:
Travis CI 2016-12-06 01:51:10 +00:00
parent 0ef80b49cf
commit 5bb5530d87
2 changed files with 2 additions and 2 deletions

View file

@ -10092,7 +10092,7 @@ class RichEmbed {
* @returns {RichEmbed} This embed
*/
setFooter(text, icon) {
if (text.length > 2048) throw new RangeError('RichEmbed footer text may not exceed 1024 characters.');
if (text.length > 2048) throw new RangeError('RichEmbed footer text may not exceed 2048 characters.');
this.footer = { text, icon_url: icon };
return this;
}

File diff suppressed because one or more lines are too long