diff options
| author | Rapptz <[email protected]> | 2016-09-26 19:54:52 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-09-26 19:55:42 -0400 |
| commit | 7272190e2db6def1f8a6e153775b33c95d62e7bf (patch) | |
| tree | 062d206d51b9abbeb8da42035b7c383a8eb91386 /docs | |
| parent | Remove unused endpoints.py file. (diff) | |
| download | discord.py-7272190e2db6def1f8a6e153775b33c95d62e7bf.tar.xz discord.py-7272190e2db6def1f8a6e153775b33c95d62e7bf.zip | |
Add support for "Do Not Disturb" and "Invisible" statuses.
This deprecates Client.change_status in favour of the newer and more
correct Client.change_presence.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index 02572dd2..641331c4 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -549,6 +549,17 @@ All enumerations are subclasses of `enum`_. .. attribute:: idle The member is idle. + .. attribute:: dnd + + The member is "Do Not Disturb". + .. attribute:: do_not_disturb + + An alias for :attr:`dnd`. + .. attribute:: invisible + + The member is "invisible". In reality, this is only used in sending + a presence a la :meth:`Client.change_presence`. When you receive a + user's presence this will be :attr:`offline` instead. .. _discord_api_data: |