Package-level declarations
Properties
Functions
Link copied to clipboard
Get a Description, defaulting to Description.empty
Link copied to clipboard
Link copied to clipboard
fun <C : Any> CommandManager<C>.buildAndRegister(name: String, description: Description = Description.empty(), aliases: Array<String> = emptyArray(), lambda: MutableCommandBuilder<C>.() -> Unit): MutableCommandBuilder<C>
Create a new MutableCommandBuilder which will invoke the provided receiver lambda, and then register itself with the owning CommandManager
Link copied to clipboard
fun <C : Any> CommandManager<C>.command(vararg commands: MutableCommandBuilder<C>): CommandManager<C>
Build the provided MutableCommandBuilders into Commands, and then register them with the command manager
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : Any> Command.Builder<C>.mutate(commandManager: CommandManager<C>, lambda: MutableCommandBuilder<C>.() -> Unit): MutableCommandBuilder<C>
Create a new MutableCommandBuilder and invoke the provided receiver lambda on it.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <C : Any> Command.Builder<C>.toMutable(commandManager: CommandManager<C>): MutableCommandBuilder<C>
Create a new MutableCommandBuilder.
Link copied to clipboard
fun <C, T> AggregateParserBuilder<C>.withComponent(builderDecorator: CommandComponent.Builder<C, T>.() -> Unit): AggregateParserBuilder<C>
Creates a new command component using the given builderDecorator.