EmbedField

class EmbedField

Functions

inline
Link copied to clipboard
fun inline(inline: Boolean = true)

Sets whether this field should be inlined.

name
Link copied to clipboard
fun name(name: String)

Sets the name of this field

value
Link copied to clipboard
fun value(value: String)

Sets the value of this field.

Properties

inline
Link copied to clipboard
var inline: Boolean = false

Whether this field should be in line with other fields in the embed.

name
Link copied to clipboard
lateinit var name: String

The name of this field.

value
Link copied to clipboard
lateinit var value: String

The value of this field.

Sources

jvm source
Link copied to clipboard