Adjust BASE urls to have no trailing slash (consistency)

This commit is contained in:
Devon R
2019-11-14 21:54:34 +00:00
committed by Rapptz
parent f5ebf42e1f
commit bf9b9c5879
6 changed files with 15 additions and 15 deletions

View File

@ -122,7 +122,7 @@ class PartialEmoji:
return Asset(self._state)
_format = 'gif' if self.animated else 'png'
url = "emojis/{0.id}.{1}".format(self, _format)
url = "/emojis/{0.id}.{1}".format(self, _format)
return Asset(self._state, url)
class Emoji:
@ -229,7 +229,7 @@ class Emoji:
def url(self):
""":class:`Asset`: Returns the asset of the emoji."""
_format = 'gif' if self.animated else 'png'
url = "emojis/{0.id}.{1}".format(self, _format)
url = "/emojis/{0.id}.{1}".format(self, _format)
return Asset(self._state, url)
@property