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 /discord/enums.py | |
| 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 'discord/enums.py')
| -rw-r--r-- | discord/enums.py | 3 |
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 |