claude-memory/graph/fixes/fix-publish-scorecard-error-embed-shows-user-provided-url-an-543706.md

1.4 KiB

id type title tags importance confidence created updated
543706bd-8352-4a4d-8afb-957e0f5e6ef6 fix Fix: publish-scorecard error embed shows user-provided URL and removes double emoji
major-domo
scorebug
ux
fix
embed-template
discord-bot
0.55 0.8 2026-02-20T20:06:31.417368+00:00 2026-02-20T20:06:31.417368+00:00

Fix: publish-scorecard Error Embed UX

Problem

When a user pasted a Discord message link instead of a Google Sheets URL, the error embed gave no indication of what URL was actually received. This made debugging confusing for the user.

Also, the error embed had a redundant emoji in the description — EmbedTemplate.error() already adds one to the title automatically, resulting in double emoji.

Changes (commands/gameplay/scorebug.py)

  1. Added "**You provided:** \{url}`"to theSheetsException` error embed description so the user can immediately see what they submitted.
  2. Removed the manually added from the description (double emoji — EmbedTemplate.error() auto-adds one to the title).

Pattern Reminder

EmbedTemplate.success(), EmbedTemplate.error(), EmbedTemplate.warning(), EmbedTemplate.info(), EmbedTemplate.loading() all auto-add emoji prefixes to the title. Never put emoji in the title parameter, and never manually add a matching emoji to the description.

Closes

Issue #39 (UX sub-item). Branch: fix/scorebug-bugs.