Skip to content

fix(discord): fetch and inject reply context for incoming messages#31438

Closed
alaamohanad169-ship-it wants to merge 1 commit into
NousResearch:mainfrom
alaamohanad169-ship-it:fix/discord-reply-context-v3
Closed

fix(discord): fetch and inject reply context for incoming messages#31438
alaamohanad169-ship-it wants to merge 1 commit into
NousResearch:mainfrom
alaamohanad169-ship-it:fix/discord-reply-context-v3

Conversation

@alaamohanad169-ship-it

Copy link
Copy Markdown
Contributor

Summary

When a user replies to a message in Discord, Hermes now fetches the referenced message content via API when Discord does not provide it inline (common for older/high-traffic messages), and prepends reply context to the message text.

Changes

  • plugins/platforms/discord/adapter.py — fetch message via API when resolved is None, prepend [Replying to: "..."] context to event text

Fixes #30049

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/plugins Plugin system and bundled plugins platform/discord Discord bot adapter labels May 24, 2026
@alt-glitch alt-glitch added the duplicate This issue or pull request already exists label May 24, 2026
@alaamohanad169-ship-it alaamohanad169-ship-it deleted the fix/discord-reply-context-v3 branch June 6, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists platform/discord Discord bot adapter type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(gateway): resolve replied/quoted message context in Discord and WhatsApp

2 participants