aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Kronifer <[email protected]>2021-03-04 13:53:45 -0600
committerGravatar GitHub <[email protected]>2021-03-04 13:53:45 -0600
commite6f2d51cfc35ae8bafc160fb3449911457442252 (patch)
tree97b77c7406d91aa10307f4e5eadf27517c0a6c51
parentlinting fix (diff)
style guidelines
-rw-r--r--bot/exts/easter/earth_photos.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bot/exts/easter/earth_photos.py b/bot/exts/easter/earth_photos.py
index 26f3d115..96282d24 100644
--- a/bot/exts/easter/earth_photos.py
+++ b/bot/exts/easter/earth_photos.py
@@ -45,9 +45,11 @@ class EarthPhotos(commands.Cog):
color=Colours.grass_green
)
embed.set_image(url=embedlink)
- embed.add_field(name="Author",
- value=f"Photo by [{username}]({profile}" + rf + ") \
-on [Unsplash](https://unsplash.com?" + rf + ").")
+ embed.add_field(
+ name="Author",
+ value=f"Photo by [{username}]({profile}{rf}) \
+ on [Unsplash](https://unsplash.com{rf})."
+ )
await ctx.send(embed=embed)