Skip to content

fix(ally): return error when unable to fetch ally info in /eden ally view - #37

Merged
burgerfan41 merged 1 commit into
EdenGuild:masterfrom
Good627:FINALV1ALLYCOMMANDS
Oct 19, 2026
Merged

burgerfan41 merged 1 commit into
EdenGuild:masterfrom
Good627:FINALV1ALLYCOMMANDS

Conversation

@Good627

@Good627 Good627 commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #21: returns a clear in-game error notice when /eden ally view does not receive ally information from the bridge backend or when disconnected.

Details

  • In DiscordChatFormatter.allyActivity, when entries == null || entries.isEmpty(), returns "Unable to fetch ally info, try again later." in red with the Eden shield prefix rather than "No guild allies currently found.".
  • In EdenModClient.requestAllyView, immediately returns the error notice if the bridge client is not connected.
  • Tracks pending request completion with a 5-second fallback timeout via partyCommandExecutor so stalled or dropped responses reliably notify the player.
  • Added unit test allyActivityReturnsErrorWhenEmpty in DiscordChatFormatterTest.

@burgerfan41
burgerfan41 merged commit 62f2b1e into EdenGuild:master Oct 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants