mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-14 09:50:03 +00:00
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:
parent
e9916e2844
commit
31cc4c39de
@ -185,7 +185,7 @@ class Activity(_ActivityTag):
|
||||
except KeyError:
|
||||
return None
|
||||
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
|
||||
def small_image_url(self):
|
||||
@ -198,7 +198,7 @@ class Activity(_ActivityTag):
|
||||
except KeyError:
|
||||
return None
|
||||
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
|
||||
def large_image_text(self):
|
||||
"""Optional[:class:`str`]: Returns the large image asset hover text of this activity if applicable."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user