Return invites as https, various URL normalization

This commit is contained in:
Devon R authored and Rapptz committed 2019-11-15 04:25:38 -05:00
1 parent 46246a2844
commit f5ebf42e1f
8 files changed
+23 -18

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ class BaseUser(_BaseUser):
@property
def default_avatar_url(self):
""":class:`Asset`: Returns a URL for a user's default avatar."""
return Asset(self._state, 'https://cdn.discordapp.com/embed/avatars/{}.png'.format(self.default_avatar.value))
return Asset(self._state, 'embed/avatars/{}.png'.format(self.default_avatar.value))
@property
def colour(self):