chatGroupCommand

suspend fun <T : Arguments> Extension.chatGroupCommand(arguments: () -> T, body: suspend ChatGroupCommand<T>.() -> Unit): ChatGroupCommand<T>

DSL function for easily registering a grouped command.

Use this in your setup function to register a group of commands.

The body of the grouped command will be executed if there is no matching subcommand.

Parameters

body

Builder lambda used for setting up the command object.


DSL function for easily registering a grouped command, without its own arguments.

Use this in your setup function to register a group of commands.

The body of the grouped command will be executed if there is no matching subcommand.

Parameters

body

Builder lambda used for setting up the command object.