fix: add stadium image link to weather command
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m11s
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:
parent
cb6be23b3b
commit
4db02a516a
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user