From 8c3675546fd6ddf2cdc596e343411c8ca0a4e296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Thu, 12 Oct 2023 11:45:43 -0500 Subject: [PATCH] feat: sorted commands in /about commands --- src/commands/about.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/about.ts b/src/commands/about.ts index d0d28ec5c..63fbc6aa0 100644 --- a/src/commands/about.ts +++ b/src/commands/about.ts @@ -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}`,