From 70b195463ca6b219b80f5b68863114e762d4e1fa Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Fri, 14 Oct 2022 17:35:09 -0400 Subject: [PATCH] sort /help --- src/commands/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/index.ts b/src/commands/index.ts index 28b5533..a9be361 100644 --- a/src/commands/index.ts +++ b/src/commands/index.ts @@ -19,7 +19,7 @@ export default async function initLocalCommands() { description: "helps your idiot ass", execute: async (bot, interaction) => { await sendInteractionResponse(bot, interaction, { - content: helpMessage.join("\n"), + content: helpMessage.sort((a, b) => a.localeCompare(b)).join("\n"), private: true, }); },