diff options
| author | Rapptz <[email protected]> | 2016-07-13 00:10:16 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-07-13 00:10:16 -0400 |
| commit | ddd3fd0a3dcce2d48b2df26377e136f2310809b3 (patch) | |
| tree | 1db729a099756f89c1e36e448bb05449593d0736 /discord/enums.py | |
| parent | Add stderr arg to create_ffmpeg_player (diff) | |
| download | discord.py-ddd3fd0a3dcce2d48b2df26377e136f2310809b3.tar.xz discord.py-ddd3fd0a3dcce2d48b2df26377e136f2310809b3.zip | |
Begin working on gateway v6 changes.
The first batch of changes are related to channel types and group
direct messages. Support these first so READY begins parsing.
Diffstat (limited to 'discord/enums.py')
| -rw-r--r-- | discord/enums.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/discord/enums.py b/discord/enums.py index 4666c52f..10a7f60b 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -27,11 +27,13 @@ DEALINGS IN THE SOFTWARE. from enum import Enum class ChannelType(Enum): - text = 'text' - voice = 'voice' + text = 0 + private = 1 + voice = 2 + group = 3 def __str__(self): - return self.value + return self.name class ServerRegion(Enum): us_west = 'us-west' |