fix: add stadium image link to weather command
Some checks failed
Build Docker Image / build (pull_request) Failing after 57s

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:47:16 +00:00
parent d40ddb76be
commit daa6cf6ff3
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1 @@
2.29.5
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