Skip to content
This repository was archived by the owner on Aug 28, 2019. It is now read-only.

Commit ccb2601

Browse files
committed
Export Team related stuff from __init__
1 parent ba7a319 commit ccb2601

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

discord/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
from .voice_client import VoiceClient
5151
from .audit_logs import AuditLogChanges, AuditLogEntry, AuditLogDiff
5252
from .raw_models import *
53+
from .team import *
5354

5455
VersionInfo = namedtuple('VersionInfo', 'major minor micro releaselevel serial')
5556

discord/team.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
from .asset import Asset
3030
from .enums import TeamMembershipState, try_enum
3131

32+
__all__ = (
33+
'Team',
34+
'TeamMember',
35+
)
3236

3337
class Team:
3438
"""Represents an application team for a bot provided by Discord.

0 commit comments

Comments
 (0)