commandResource

suspend fun commandResource(name: String, block: suspend CommandResourceBuilder.() -> Unit): Command

See also

Parameters

name

The unique name of the resulting resource.

block

Builder for Command.