Argument Command Node
class ArgumentCommandNode<S, T>(name: String, val type: ArgumentType<T>, command: Command<S>?, requirement: (S) -> Boolean, redirect: CommandNode<S>? = null, forks: Boolean = false, children: Map<String, CommandNode<S>>, customSuggestions: SuggestionProvider<S>? = null) : CommandNode<S>
Constructors
Link copied to clipboard
constructor(name: String, type: ArgumentType<T>, command: Command<S>?, requirement: (S) -> Boolean, redirect: CommandNode<S>? = null, forks: Boolean = false, children: Map<String, CommandNode<S>>, customSuggestions: SuggestionProvider<S>? = null)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun listSuggestions(context: CommandContext<S>, builder: SuggestionsBuilder): Suggestions
Link copied to clipboard
Converts the given ArgumentCommandNode with source type S to an ArgumentCommandNode with source type R.
Converts the given CommandNode with source type S to an CommandNode with source type R.
Link copied to clipboard