Literal Command Node
class LiteralCommandNode<S>(literal: String, command: Command<S>?, requirement: (S) -> Boolean, redirect: CommandNode<S>?, forks: Boolean, children: Map<String, CommandNode<S>> = emptyMap()) : CommandNode<S>
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 CommandNode with source type S to an CommandNode with source type R.
Converts the given LiteralCommandNode with source type S to an LiteralCommandNode with source type R.
Link copied to clipboard