mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 18:59:09 +00:00
Remove owner from TeamMemberRole
This commit is contained in:
parent
60ff239558
commit
f74eb14d72
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user