Merge pull request 'fix: add stadium image link to weather command' (#7) from bugfix/weather-image-link into main
All checks were successful
Build Docker Image / build (push) Successful in 47s
All checks were successful
Build Docker Image / build (push) Successful in 47s
Reviewed-on: #7
This commit is contained in:
commit
8a4c6e459d
@ -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