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 .object import Object
from .reaction import Reaction from .reaction import Reaction
from . import utils, opus, compat, abc from . import utils, opus, compat, abc
from .enums import ChannelType, GuildRegion, Status, MessageType, VerificationLevel from .enums import *
from collections import namedtuple from collections import namedtuple
from .embeds import Embed from .embeds import Embed
from .shard import AutoShardedClient from .shard import AutoShardedClient

View File

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