Add ChannelType.category enum value.

This commit is contained in:
Rapptz 2017-11-28 17:02:38 -05:00
parent 9f1bb19d77
commit e4cafb5057
2 changed files with 9 additions and 4 deletions

View File

@ -31,6 +31,7 @@ class ChannelType(Enum):
private = 1
voice = 2
group = 3
category = 4
def __str__(self):
return self.name

View File

@ -468,6 +468,10 @@ All enumerations are subclasses of `enum`_.
.. attribute:: group
A private group text channel.
.. attribute:: category
A server category channel.
.. class:: MessageType