Skip to content

$addField

$addField will add a field in an embed.

Usage

$addField[fieldTitle;fieldDescription;inline?]

Parameters

FieldTypeDescriptionRequired
fieldTitle?stringThe title of the field.true
fieldDescription?stringThe description of the field.true
inline?booleanIf the field is inline.false

Example(s)

This will send an embed with a field and description:

1
client.command({
2
name: "addField",
3
code: `
4
$addField[Example;Look at this!;false]
5
$description[Hello!]
6
`
7
});