diff options
| author | Rapptz <[email protected]> | 2015-11-27 17:59:22 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-11-27 17:59:22 -0500 |
| commit | 7c060ee7f61707b8b5e68de27a275ec09e310868 (patch) | |
| tree | bc1c3ec8d8b2b4e76dfcbde1d97f0fe4f1a75431 | |
| parent | Update to the new colours. (diff) | |
| download | discord.py-7c060ee7f61707b8b5e68de27a275ec09e310868.tar.xz discord.py-7c060ee7f61707b8b5e68de27a275ec09e310868.zip | |
Document supported operations in discord.User
| -rw-r--r-- | discord/user.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/discord/user.py b/discord/user.py index 804850e1..3d3a38c5 100644 --- a/discord/user.py +++ b/discord/user.py @@ -27,6 +27,18 @@ DEALINGS IN THE SOFTWARE. class User(object): """Represents a Discord user. + Supported Operations: + + +-----------+------------------------------------+ + | Operation | Description | + +===========+====================================+ + | x == y | Checks if two users are equal. | + +-----------+------------------------------------+ + | x != y | Checks if two users are not equal. | + +-----------+------------------------------------+ + | str(x) | Returns the user's name. | + +-----------+------------------------------------+ + Instance attributes: .. attribute:: name |