fix: add stadium image link to weather command
Some checks failed
Build Docker Image / build (pull_request) Failing after 57s
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:
parent
d40ddb76be
commit
daa6cf6ff3
@ -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