addField

open fun addField(name: String, value: String, inline: Boolean): MessageEmbedBuilder

Adds a field to the embed.

Return

MessageEmbedBuilder for chaining.

Parameters

name

Name of the field.

value

Content of the field.

inline

Whether to inline the field or not.


open fun addField(field: EmbedField): MessageEmbedBuilder

Adds a field to the embed.

Return

MessageEmbedBuilder for chaining.

Parameters

field

EmbedField

See also