fix: add stadium image link to weather command
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m11s

Add clickable link field to weather embed as fallback for Discord
caching issues. Users can click the link to view the stadium image
in their browser if the embedded image fails to render.

Changes:
- Added "Stadium Image" field with direct link to team.stadium
- Bump version to 2.29.7

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Discord Bot 2026-02-13 20:52:10 +00:00
parent cb6be23b3b
commit 4db02a516a
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1 @@
2.29.6
2.29.7

View File

@ -261,6 +261,12 @@ class WeatherCommands(commands.Cog):
# Set stadium image at bottom
if team.stadium:
embed.set_image(url=team.stadium)
# Add direct link as fallback for Discord caching issues
embed.add_field(
name="Stadium Image",
value=f"[Click here to view stadium image]({team.stadium})",
inline=False
)
return embed