getGeneratedValueSupplier
open fun getGeneratedValueSupplier(@NotNull commandPath: @NotNull CommandPath, @NotNull optionName: @NotNull String, @NotNull parameterType: @NotNull ParameterType): @NotNull TextGeneratedValueSupplier(source)
Returns the generated value supplier of an @GeneratedOption, if the method doesn't return a generated value supplier, the framework will throw. This method is called only if your option is annotated with @GeneratedOption
This method will only be called once per command option per guild
Return
A TextGeneratedValueSupplier to generate the option on command execution
Parameters
commandPath
The path of the command, as set in JDATextCommandVariation
optionName
The name of the transformed command option, might not be equal to the parameter name
parameterType
The boxed type of the command option