fix: add stadium image link to weather command #7

Merged
cal merged 1 commits from bugfix/weather-image-link into main 2026-02-13 20:55:43 +00:00
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