Text Command
Base class for annotated text commands.
You are not required to use this if you use TextCommandProvider
See also
@JDATextCommandVariation
Functions
Link copied to clipboard
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 setDescriptionLink copied to clipboard
open fun getGeneratedValueSupplier(@NotNull commandPath: @NotNull CommandPath, @NotNull optionName: @NotNull String, @NotNull parameterType: @NotNull ParameterType): @NotNull TextGeneratedValueSupplier
Returns the generated value supplier of an @GeneratedOption, if the method doesn't return a generated value supplier, the framework will throw.