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
|
@property
|
||||||
def default_avatar(self):
|
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))
|
return try_enum(DefaultAvatar, int(self.discriminator) % len(DefaultAvatar))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user