mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 20:51:14 +00:00
Webpack build for branch master: 284f4e8ac0
This commit is contained in:
parent
8fe992bba6
commit
cab9a38733
2 changed files with 2 additions and 2 deletions
|
|
@ -6250,7 +6250,7 @@ class MessageEmbed {
|
||||||
name = Util.resolveString(name);
|
name = Util.resolveString(name);
|
||||||
if (!String(name) || name.length > 256) throw new RangeError('EMBED_FIELD_NAME');
|
if (!String(name) || name.length > 256) throw new RangeError('EMBED_FIELD_NAME');
|
||||||
value = Util.resolveString(value);
|
value = Util.resolveString(value);
|
||||||
if (!String(name) || value.length > 1024) throw new RangeError('EMBED_FIELD_VALUE');
|
if (!String(value) || value.length > 1024) throw new RangeError('EMBED_FIELD_VALUE');
|
||||||
this.fields.push({ name, value, inline });
|
this.fields.push({ name, value, inline });
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue