From 37bfdd154c8776d6249f0686fbbe7dddf47bf113 Mon Sep 17 00:00:00 2001 From: Zack Campbell Date: Mon, 5 Dec 2016 19:50:25 -0600 Subject: [PATCH] Fix embed footer text length error (#955) --- src/structures/RichEmbed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/RichEmbed.js b/src/structures/RichEmbed.js index 7cd98b99d..a62e58833 100644 --- a/src/structures/RichEmbed.js +++ b/src/structures/RichEmbed.js @@ -175,7 +175,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; }