We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6487b commit ebe91e7Copy full SHA for ebe91e7
interactions/models/discord/user.py
@@ -83,6 +83,11 @@ def display_avatar(self) -> "Asset":
83
"""The users displayed avatar, will return `guild_avatar` if one is set, otherwise will return user avatar."""
84
return self.avatar
85
86
+ @property
87
+ def avatar_url(self) -> str:
88
+ """The users avatar url."""
89
+ return self.avatar.url
90
+
91
async def fetch_dm(self) -> "DM":
92
"""Fetch the DM channel associated with this user."""
93
return await self._client.cache.fetch_dm_channel(self.id) # noqa
0 commit comments