diff options
| -rw-r--r-- | bot/exts/easter/earth_photos.py | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/easter/earth_photos.py b/bot/exts/easter/earth_photos.py index 2ca43e42..e660112f 100644 --- a/bot/exts/easter/earth_photos.py +++ b/bot/exts/easter/earth_photos.py @@ -1,8 +1,10 @@  import discord -from discord.ext import commands  import logging +from discord.ext import commands + +  import requests  from bot.constants import Tokens @@ -22,9 +24,7 @@ class EarthPhotos(commands.Cog):      @commands.command(aliases=["earth"])      async def earth_photos(self, ctx: commands.Context): -        """ -        Returns a random photo of earth, sourced from Unsplash. -        """ +        """Returns a random photo of earth, sourced from Unsplash."""          photorequest = requests.get("https://api.unsplash.com/photos/random?query=earth&client_id=" + UnClient_id)          photojson = photorequest.json()          photourls = photojson.get('urls')  |