Browse Source

Fix return type docstring for BaseUser.default_avatar

pull/2277/head
Steve C 6 years ago
committed by Rapptz
parent
commit
ae4989e474
  1. 2
      discord/user.py

2
discord/user.py

@ -175,7 +175,7 @@ class BaseUser(_BaseUser):
@property
def default_avatar(self):
"""class:`DefaultAvatar`: Returns the default avatar for a given user. This is calculated by the user's discriminator."""
""":class:`DefaultAvatar`: Returns the default avatar for a given user. This is calculated by the user's discriminator."""
return try_enum(DefaultAvatar, int(self.discriminator) % len(DefaultAvatar))
@property

Loading…
Cancel
Save