Fix _image_url returning htps

Should be https :)

Just made this a separate PR from my previous one, in-case you decide to not include it.
This commit is contained in:
Myst(MysterialPy) 2018-03-07 23:32:20 +10:00 committed by GitHub
parent e9916e2844
commit 31cc4c39de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,7 +185,7 @@ class Activity(_ActivityTag):
except KeyError: except KeyError:
return None return None
else: else:
return 'htps://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, large_image) return 'https://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, large_image)
@property @property
def small_image_url(self): def small_image_url(self):
@ -198,7 +198,7 @@ class Activity(_ActivityTag):
except KeyError: except KeyError:
return None return None
else: else:
return 'htps://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, small_image) return 'https://cdn.discordapp.com/app-assets/{0}/{1}.png'.format(self.application_id, small_image)
@property @property
def large_image_text(self): def large_image_text(self):
"""Optional[:class:`str`]: Returns the large image asset hover text of this activity if applicable.""" """Optional[:class:`str`]: Returns the large image asset hover text of this activity if applicable."""