CommandDispatcher

class CommandDispatcher(registry: CommandRegistry, permissionChecker: PermissionChecker, messages: ProxyMessages = ProxyMessagesLoader.defaults())

Parses and dispatches command input.

Constructors

Link copied to clipboard
constructor(registry: CommandRegistry, permissionChecker: PermissionChecker, messages: ProxyMessages = ProxyMessagesLoader.defaults())

Functions

Link copied to clipboard
fun complete(sender: CommandSender, input: String): List<String>
Link copied to clipboard
fun dispatch(sender: CommandSender, input: String): Boolean