commandBuilder

fun <C : Any> CommandManager<C>.commandBuilder(name: String, description: Description = Description.empty(), aliases: Array<String> = emptyArray(), lambda: MutableCommandBuilder<C>.() -> Unit): MutableCommandBuilder<C>

Create a new MutableCommandBuilder and invoke the provided receiver lambda on it

Parameters

name

name for the root command node

description

description for the root command node

aliases

aliases for the root command node

lambda

receiver lambda which will be invoked on the new builder