mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: sorted commands in /about commands
This commit is contained in:
1 parent
ec64dab720
commit
8c3675546f
1 file changed
+1
@@ -51,6 +51,7 @@ export const aboutCommand: CommandRegistry = {
|
||||
await Promise.all(COMMANDS_RAW)
|
||||
)
|
||||
.filter((registry) => registry.inPublic && registry.inProduction)
|
||||
.sort((a, b) => (a.command.name < b.command.name ? -1 : 1))
|
||||
.map(
|
||||
(registry) =>
|
||||
`- \`/${registry.command.name}\`: ${registry.command.description}`,
|
||||
|
||||
Reference in new issue
Block a user