claude-memory/graph/fixes/discord-autocomplete-sends-display-text-not-value-d32832.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

610 B

id type title tags importance confidence created updated
d32832d7-cfce-4618-bb19-1497b11698a6 fix Discord autocomplete sends display text not value
major-domo
python
discord
autocomplete
fix
0.6 0.8 2025-12-13T00:59:43.879353+00:00 2025-12-13T00:59:43.879353+00:00

When users select from Discord autocomplete dropdown, it sometimes sends the display text (e.g., 'Mason Miller (RP) - 2.50 sWAR') instead of the value ('Mason Miller'). Added _parse_player_name() function with regex to strip position and sWAR info from input. Pattern: r'^(.+?)\s*([A-Z0-9]+)\s*-\s*[\d.]+\s*sWAR$'