aboutsummaryrefslogtreecommitdiff
path: root/discord/user.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-12 20:14:34 -0400
committerRapptz <[email protected]>2017-05-12 20:14:34 -0400
commitb44bba6ee6e29b38d1e579c602821582e155ec3b (patch)
tree355df44874b3e5f8ee4e825339cb57783e3677ca /discord/user.py
parentRename abc.Callable to abc.Connectable. (diff)
downloaddiscord.py-b44bba6ee6e29b38d1e579c602821582e155ec3b.tar.xz
discord.py-b44bba6ee6e29b38d1e579c602821582e155ec3b.zip
First pass at documentation reform.
Diffstat (limited to 'discord/user.py')
-rw-r--r--discord/user.py4
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.