From 7272190e2db6def1f8a6e153775b33c95d62e7bf Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 26 Sep 2016 19:54:52 -0400 Subject: 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. --- discord/enums.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'discord/enums.py') 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 -- cgit v1.2.3