mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-09-09 14:03:53 +00:00
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.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user