registerCommands

fun registerCommands(block: BindDsl.() -> Unit)

DSL for registering multiple Commands in a block.

Usage:

Commangu.registerCommands {
bind("name", command)
}

Parameters

block

Lambda with receiver for BindDsl to register commands.