Fix return type docstring for BaseUser.default_avatar
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user