Browse Source

Export Team related stuff from __init__

pull/2255/head
Rapptz 6 years ago
parent
commit
ccb26018ab
  1. 1
      discord/__init__.py
  2. 4
      discord/team.py

1
discord/__init__.py

@ -50,6 +50,7 @@ from .webhook import *
from .voice_client import VoiceClient
from .audit_logs import AuditLogChanges, AuditLogEntry, AuditLogDiff
from .raw_models import *
from .team import *
VersionInfo = namedtuple('VersionInfo', 'major minor micro releaselevel serial')

4
discord/team.py

@ -29,6 +29,10 @@ from .user import BaseUser
from .asset import Asset
from .enums import TeamMembershipState, try_enum
__all__ = (
'Team',
'TeamMember',
)
class Team:
"""Represents an application team for a bot provided by Discord.

Loading…
Cancel
Save