SubCommand

Functions

Link copied to clipboard
open fun format(format: String): String

Formats the name of the entity

Link copied to clipboard
open override fun formatTo(formatter: Formatter?, flags: Int, width: Int, precision: Int)

Formats the object using the provided {@link Formatter formatter}.

Link copied to clipboard

The first option with the specified name.

open fun <T> getOption(name: String, resolver: (SlashOptionGetter) -> T): T?

The option with the specified name.

Link copied to clipboard

Gets all the options with the specified name.

Link copied to clipboard

The first option with the specified type.

Properties

Link copied to clipboard
abstract val json: JsonNode

The json representation of this entity.

Link copied to clipboard
abstract var name: String
Link copied to clipboard

Gets all the options of the command.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.