From 74f171072268011e1258fb05a13cda4867320aa0 Mon Sep 17 00:00:00 2001 From: Mari Date: Sat, 4 May 2024 01:35:00 -0700 Subject: [PATCH] don't show the party if it's only one member --- src/commands/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/base.ts b/src/commands/base.ts index d24974e..6198fd4 100644 --- a/src/commands/base.ts +++ b/src/commands/base.ts @@ -154,7 +154,7 @@ export abstract class AbstractCharacterStatusCommand extends SlashCommand { return ctx.sendResults( [ ...characters.map((s) => selectionPrefixValue + s).slice(0, 20), - ...(unselectedParty.size > 0 && (partyName.includes(completingName) || completingName.trim() === '*') + ...(unselectedParty.size > 0 && activeParty.size > 1 && (partyName.includes(completingName) || completingName.trim() === '*') ? [selectionPrefixValue + partyName] : []) ]