Export missing enums.

This commit is contained in:
Rapptz 2017-04-12 20:20:35 -04:00
parent 728fae9285
commit 0e5bf09021
2 changed files with 4 additions and 1 deletions

View File

@ -36,7 +36,7 @@ from .invite import Invite
from .object import Object
from .reaction import Reaction
from . import utils, opus, compat, abc
from .enums import ChannelType, GuildRegion, Status, MessageType, VerificationLevel
from .enums import *
from collections import namedtuple
from .embeds import Embed
from .shard import AutoShardedClient

View File

@ -26,6 +26,9 @@ DEALINGS IN THE SOFTWARE.
from enum import Enum
__all__ = ['ChannelType', 'MessageType', 'GuildRegion', 'VerificationLevel',
'ContentFilter', 'Status', 'DefaultAvatar', 'RelationshipType' ]
class ChannelType(Enum):
text = 0
private = 1