mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 19:03:03 +00:00
Remove owner from TeamMemberRole
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user