hermes - 💡(How to fix) Fix [Bug]: Discord webhook embed content is invisible to the agent

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Fix Action

Fix / Workaround

Add a _serialize_embeds() helper in the Discord gateway that converts embed objects (title, description, fields) into markdown-formatted text and appends it to the message text before dispatch. This makes webhook content visible to the agent without changing any other behavior.

Code Example

Report https://paste.rs/vY7St

---
RAW_BUFFERClick to expand / collapse

Bug Description

When Discord webhook messages (e.g. Railway deploy notifications, GitHub push alerts) are sent to a channel, all their content is carried in embeds with an empty message body. The Hermes Discord gateway only extracts message.content (plain text), so the LLM never sees the embed title, description, or field values.

This means webhook notifications from Railway, GitHub, and other services that use Discord's webhook format are effectively invisible to the agent — it can't read deploy status, build results, or any other embed-only content.

Steps to Reproduce

  1. Send a Discord webhook message with embeds (no plain text body) to a channel the bot is in
  2. The bot receives the message but the LLM sees empty content
  3. The agent cannot respond to or act on the webhook notification

Expected Behavior

The agent should be able to see and respond to embed content from webhook messages, including titles, descriptions, and field values.

<img width="830" height="316" alt="Image" src="https://github.com/user-attachments/assets/ee52b1d8-784b-4e3b-892e-c9d8f634054d" />

Actual Behavior

Webhook messages with embeds but no plain text body are received as empty messages. The agent sees nothing.

<img width="1200" height="440" alt="Image" src="https://github.com/user-attachments/assets/d0aee2f5-aed0-49e4-91e1-7145aa3e4a49" />

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

Discord

Debug Report

Report https://paste.rs/vY7St

Operating System

macOS 26.5

Python Version

3.11.15

Hermes Version

0.13.0

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

Add a _serialize_embeds() helper in the Discord gateway that converts embed objects (title, description, fields) into markdown-formatted text and appends it to the message text before dispatch. This makes webhook content visible to the agent without changing any other behavior.

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Bug]: Discord webhook embed content is invisible to the agent