v5.0.0
$addField
addField allows you to add more fields in your embed.
This function is in charge of adding a new field to the embed, these containing a limit of 1024 characters each and allowing to use 25 fields per embed.
1
$addField[index;text;value;inline]
Copied!

Fields

Field
Description
Type
Required
index
The embed to add this author to.
integer
yes
text
The field text.
string
yes
value
The field value.
string
yes
inline
The field inline.
boolean
no

Examples

Without inline
1
bot.command({
2
name: "embed",
3
code: `$addField[1;Example Field;Value Field]`
4
});
Copied!
With inline
1
bot.command({
2
name: "embed",
3
code: `
4
$addField[3;Example Field;Value Field;yes]
5
$addField[2;Example Field;Value Field;yes]
6
$addField[1;Example Field;Value Field;yes]
7
`
8
});
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub