don't show the party if it's only one member

main
Mari 7 months ago
parent 431633c880
commit 74f1710722
  1. 2
      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]
: [])
]

Loading…
Cancel
Save