feat: sorted commands in /about commands

This commit is contained in:
TrèsAbhi committed 2023-10-12 11:45:43 -05:00
1 parent ec64dab720
commit 8c3675546f
1 file changed
+1
+1
View File
@@ -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}`,