addField

abstract fun addField(name: String, value: CharSequence, inline: Boolean = true): EmbedBuilder(source)

Adds a field to the embed.

Return

The current EmbedBuilder instance.

Parameters

name

The name of the field.

value

The value of the field.

inline

Whether the field should be inline.


Adds a field to the embed.

Return

The current EmbedBuilder instance.

Parameters

field

The field to add.