Skip to content

Commit 1a51539

Browse files
authored
Fix a typo
1 parent 16fb9fc commit 1a51539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def avatar_url_as(self, *, format=None, static_format='webp', size=1024):
194194
@property
195195
def default_avatar(self):
196196
""":class:`DefaultAvatar`: Returns the default avatar for a given user. This is calculated by the user's discriminator."""
197-
return avatar = try_enum(DefaultAvatar, int(self.discriminator) % len(DefaultAvatar))
197+
return try_enum(DefaultAvatar, int(self.discriminator) % len(DefaultAvatar))
198198

199199
@property
200200
def default_avatar_url(self):

0 commit comments

Comments
 (0)