mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Adjust BASE urls to have no trailing slash (consistency)
This commit is contained in:
@ -206,7 +206,7 @@ class Activity(_ActivityTag):
|
||||
except KeyError:
|
||||
return None
|
||||
else:
|
||||
return Asset.BASE + 'app-assets/{0}/{1}.png'.format(self.application_id, large_image)
|
||||
return Asset.BASE + '/app-assets/{0}/{1}.png'.format(self.application_id, large_image)
|
||||
|
||||
@property
|
||||
def small_image_url(self):
|
||||
@ -219,7 +219,7 @@ class Activity(_ActivityTag):
|
||||
except KeyError:
|
||||
return None
|
||||
else:
|
||||
return Asset.BASE + 'app-assets/{0}/{1}.png'.format(self.application_id, small_image)
|
||||
return Asset.BASE + '/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."""
|
||||
|
Reference in New Issue
Block a user