subcommand

fun subcommand(    name: String,     requiredPermissionLevel: Permissions? = null,     construct: SubCommandSetBuilder.() -> Unit): SubCommandSet

Create a block for registering commands.

Parameters

name

The category these commands will be under.

construct

The builder function.