1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-16 10:49:24 +00:00

Remove owner from TeamMemberRole

This commit is contained in:
Rapptz 2023-08-25 15:43:04 -04:00
parent 60ff239558
commit f74eb14d72
3 changed files with 1 additions and 6 deletions
discord
docs

@ -523,7 +523,6 @@ class TeamMembershipState(Enum):
class TeamMemberRole(Enum):
owner = 'owner'
admin = 'admin'
developer = 'developer'
read_only = 'read_only'

@ -35,7 +35,7 @@ class TeamMember(TypedDict):
membership_state: int
permissions: List[str]
team_id: Snowflake
role: Literal['owner', 'admin', 'developer', 'read_only']
role: Literal['admin', 'developer', 'read_only']
class Team(TypedDict):

@ -2865,10 +2865,6 @@ of :class:`enum.Enum`.
.. versionadded:: 2.4
.. attribute:: owner
The team member owns the team. This allows them to do everything with the team, including destructive actions.
.. attribute:: admin
The team member is an admin. This allows them to invite members to the team, access credentials, edit the application,