Export missing enums.
This commit is contained in:
parent
728fae9285
commit
0e5bf09021
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user