diff options
| author | Rapptz <[email protected]> | 2015-12-04 23:43:31 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-12-04 23:43:31 -0500 |
| commit | 17171aaa6032060c7fa845fa275f80f2ffbc2421 (patch) | |
| tree | 5e4e27bde897c6fe7aa764555131cb3eea87605c /discord/user.py | |
| parent | Add server management commands. (diff) | |
| download | discord.py-17171aaa6032060c7fa845fa275f80f2ffbc2421.tar.xz discord.py-17171aaa6032060c7fa845fa275f80f2ffbc2421.zip | |
Switch to NumPy style documentation.
Diffstat (limited to 'discord/user.py')
| -rw-r--r-- | discord/user.py | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/discord/user.py b/discord/user.py index 3d3a38c5..35f39d94 100644 --- a/discord/user.py +++ b/discord/user.py @@ -39,19 +39,15 @@ class User(object): | str(x) | Returns the user's name. | +-----------+------------------------------------+ - Instance attributes: - - .. attribute:: name - + Attributes + ----------- + name : str The user's username. - .. attribute:: id - + id : str The user's unique ID. - .. attribute:: discriminator - + discriminator : str or int The user's discriminator. This is given when the username has conflicts. - .. attribute:: avatar - + avatar : str The avatar hash the user has. Could be None. """ |