Skip to content
Centurion

Groups

Groups should typically be registered through the @Register decorator.

Alternatively, you can use the registerGroup method. This is useful if you want to share groups between classes decorated with @Register.

Similar to commands, groups are synchronized to the client.

@Register({
groups: [
{
name: "example",
description: "Example group"
}
]
})
export class MyCommand {
// ...
}