ApplicationCommandOptionImpl

class ApplicationCommandOptionImpl(val yde: YDE, val json: JsonNode) : ApplicationCommandOption(source)

Constructors

Link copied to clipboard
constructor(yde: YDE, json: JsonNode)

Functions

Link copied to clipboard
open override fun toString(): String

Converts this entity to a string using the io.github.ydwk.ydwk.util.EntityToStringBuilder.

Properties

Link copied to clipboard
open override val focused: Boolean?

Gets weather this option is the currently focused option for autocomplete.

Link copied to clipboard
open override val json: JsonNode

The json representation of this entity.

Link copied to clipboard
open override var name: String

The name of the option.

Link copied to clipboard

The options of the option.

Link copied to clipboard
open override val type: SlashOptionType

The type of the option.

Link copied to clipboard
open override val value: JsonNode

The value as Any.

Link copied to clipboard
open override val yde: YDE

The main YDE instance.