fix alias display in autocomplete list

This commit is contained in:
LenAnderson
2024-04-24 19:22:01 -04:00
parent 85ad3ed165
commit f5956aade7

View File

@ -54,7 +54,7 @@ export class SlashCommandAutoCompleteOption {
/**@type {SlashCommand}*/ /**@type {SlashCommand}*/
// @ts-ignore // @ts-ignore
const cmd = this.value; const cmd = this.value;
li = cmd.renderHelpItem(); li = cmd.renderHelpItem(this.name);
break; break;
} }
case OPTION_TYPE.QUICK_REPLY: { case OPTION_TYPE.QUICK_REPLY: {