mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix return type docstring for BaseUser.default_avatar
This commit is contained in:
parent
7cec42c8f1
commit
ae4989e474
@ -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…
x
Reference in New Issue
Block a user