Skip to content

@pumpkin-plugins/docs API / commands / CommandSpec

Type Alias: CommandSpec<Node> ​

CommandSpec<Node> = Omit<CommandSpecMetadata<Node>, "permission"> & object & CommandBehavior<Node>

Defined in: tools/docs/src/commands.ts:79

A command the plugin registers: the first word typed after /.

Type Declaration ​

permission ​

permission: Node

Permission node for this command or group. Pumpkin requires it to start with the plugin's name.

Type Parameters ​

Node ​

Node extends string = string

Pumpkin Plugins documentation