TextCommand

Deprecated

This superclass is no longer mandatory, if you override methods from it, implement them using their respective interfaces

Base class for annotated text commands.

You are not required to use this if you use TextCommandProvider

See also

@JDATextCommandVariation

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun accept(builder: EmbedBuilder)
Customizes the provided embed builder.
Link copied to clipboard
@Nullable
open fun getDetailedDescription(): @Nullable Consumer<EmbedBuilder>
Returns a detailed embed of what the command is, it is used by the internal help commandThe help command will automatically set the embed title to be Command '[command_name]' but can be overriddenIt will also set the embed's description to be the command's description, you can override with setDescription
Link copied to clipboard
open fun getGeneratedValueSupplier(commandPath: CommandPath, optionName: String, parameterType: ParameterType): TextGeneratedValueSupplier
Returns the generated value supplier of an @GeneratedOption.