diff options
| author | Rapptz <[email protected]> | 2017-05-12 20:14:34 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-12 20:14:34 -0400 |
| commit | b44bba6ee6e29b38d1e579c602821582e155ec3b (patch) | |
| tree | 355df44874b3e5f8ee4e825339cb57783e3677ca /discord/user.py | |
| parent | Rename abc.Callable to abc.Connectable. (diff) | |
| download | discord.py-b44bba6ee6e29b38d1e579c602821582e155ec3b.tar.xz discord.py-b44bba6ee6e29b38d1e579c602821582e155ec3b.zip | |
First pass at documentation reform.
Diffstat (limited to 'discord/user.py')
| -rw-r--r-- | discord/user.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/user.py b/discord/user.py index bb045e60..2f3bfade 100644 --- a/discord/user.py +++ b/discord/user.py @@ -197,7 +197,7 @@ class ClientUser(BaseUser): The user's unique ID. discriminator: str The user's discriminator. This is given when the username has conflicts. - avatar: str + avatar: Optional[str] The avatar hash the user has. Could be None. bot: bool Specifies if the user is a bot account. @@ -404,7 +404,7 @@ class User(BaseUser, discord.abc.Messageable): The user's unique ID. discriminator: str The user's discriminator. This is given when the username has conflicts. - avatar: str + avatar: Optional[str] The avatar hash the user has. Could be None. bot: bool Specifies if the user is a bot account. |