Adjust BASE urls to have no trailing slash (consistency)

This commit is contained in:
Devon R authored and Rapptz committed 2019-11-15 04:25:38 -05:00
1 parent f5ebf42e1f
commit bf9b9c5879
6 files changed
+15 -15

No files matched your search

+2 -2
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