Files
discord-stock-bot/bot.py
Michael Simard 6bbf389a60 Fix chart display by adding FinViz fallback
- Add has_chart_attachment parameter to create_stock_embed()
- Use attachment://chart.png only when chart file is attached
- Fall back to FinViz chart URL when Yahoo Finance chart fails
- Prevents broken image references in Discord embeds

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 00:29:10 -06:00

26 KiB