From 1a51539fc8ca5a5f763c08a60471f7230cb4bf0e Mon Sep 17 00:00:00 2001 From: dolfies Date: Wed, 26 May 2021 19:43:58 -0400 Subject: [PATCH] Fix a typo --- discord/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/user.py b/discord/user.py index f7e9b979277d..17b8c157b6b1 100644 --- a/discord/user.py +++ b/discord/user.py @@ -194,7 +194,7 @@ def avatar_url_as(self, *, format=None, static_format='webp', size=1024): @property def default_avatar(self): """:class:`DefaultAvatar`: Returns the default avatar for a given user. This is calculated by the user's discriminator.""" - return avatar = try_enum(DefaultAvatar, int(self.discriminator) % len(DefaultAvatar)) + return try_enum(DefaultAvatar, int(self.discriminator) % len(DefaultAvatar)) @property def default_avatar_url(self):