aboutsummaryrefslogtreecommitdiff
path: root/discord/enums.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/enums.py')
-rw-r--r--discord/enums.py8
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'