From f5956aade7a1451aaad1ca867446643214da81b1 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Wed, 24 Apr 2024 19:22:01 -0400 Subject: [PATCH] fix alias display in autocomplete list --- public/scripts/slash-commands/SlashCommandAutoCompleteOption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/slash-commands/SlashCommandAutoCompleteOption.js b/public/scripts/slash-commands/SlashCommandAutoCompleteOption.js index cbab3ba3a..996ab2630 100644 --- a/public/scripts/slash-commands/SlashCommandAutoCompleteOption.js +++ b/public/scripts/slash-commands/SlashCommandAutoCompleteOption.js @@ -54,7 +54,7 @@ export class SlashCommandAutoCompleteOption { /**@type {SlashCommand}*/ // @ts-ignore const cmd = this.value; - li = cmd.renderHelpItem(); + li = cmd.renderHelpItem(this.name); break; } case OPTION_TYPE.QUICK_REPLY: {