Browse Source

Export missing enums.

pull/449/merge
Rapptz 8 years ago
parent
commit
0e5bf09021
  1. 2
      discord/__init__.py
  2. 3
      discord/enums.py

2
discord/__init__.py

@ -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

3
discord/enums.py

@ -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

Loading…
Cancel
Save