Skip to content

Commit

Permalink
docs: remove group registration example
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxuum committed Jul 25, 2024
1 parent 8594389 commit 93b8039
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions docs/src/content/docs/guides/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,24 +68,6 @@ Centurion.server().start((registry) => {
const typeContainer = ReplicatedStorage.types;
registry.load(typeContainer);
// Register groups - this must be done before register() is called!
registry.registerGroup(
{
name: "info",
description: "View info about a user or the server",
},
{
name: "user",
description: "View info about a user",
parent: ["info"],
},
{
name: "server",
description: "View info about the server",
parent: ["info"],
},
);
// To register the loaded commands and types, you then
// call the register method:
registry.register();
Expand Down

0 comments on commit 93b8039

Please sign in to comment.