subcommand
fun subcommand( name: String, requiredPermissionLevel: Permissions? = null, construct: SubCommandSetBuilder.() -> Unit): SubCommandSet
Content copied to clipboard
Create a block for registering commands.
Parameters
name
The category these commands will be under.
construct
The builder function.