addField

open override fun addField(name: String, value: CharSequence, inline: Boolean): 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.


open override fun addField(field: EmbedFieldBuilder): EmbedBuilder(source)

Adds a field to the embed.

Return

The current EmbedBuilder instance.

Parameters

field

The field to add.