aboutsummaryrefslogtreecommitdiff
path: root/discord/enums.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-09-26 19:54:52 -0400
committerRapptz <[email protected]>2016-09-26 19:55:42 -0400
commit7272190e2db6def1f8a6e153775b33c95d62e7bf (patch)
tree062d206d51b9abbeb8da42035b7c383a8eb91386 /discord/enums.py
parentRemove unused endpoints.py file. (diff)
downloaddiscord.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 'discord/enums.py')
-rw-r--r--discord/enums.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/enums.py b/discord/enums.py
index 191728ee..37195cbb 100644
--- a/discord/enums.py
+++ b/discord/enums.py
@@ -78,6 +78,9 @@ class Status(Enum):
online = 'online'
offline = 'offline'
idle = 'idle'
+ dnd = 'dnd'
+ do_not_disturb = 'dnd'
+ invisible = 'invisible'
def __str__(self):
return self.value