mirror of
https://github.com/danbulant/discord.js
synced 2026-07-03 10:10:49 +00:00
Webpack build: 37bfdd154c
This commit is contained in:
parent
0ef80b49cf
commit
5bb5530d87
2 changed files with 2 additions and 2 deletions
|
|
@ -10092,7 +10092,7 @@ class RichEmbed {
|
||||||
* @returns {RichEmbed} This embed
|
* @returns {RichEmbed} This embed
|
||||||
*/
|
*/
|
||||||
setFooter(text, icon) {
|
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 };
|
this.footer = { text, icon_url: icon };
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
discord.indev.min.js
vendored
2
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue