Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfies authored May 26, 2021
1 parent 16fb9fc commit 1a51539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1a51539

Please sign in to comment.