Browse Source

Fix incorrect typehints in Guild.create_role

pull/7069/merge
RobotHanzo 4 years ago
committed by GitHub
parent
commit
75477b2995
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      discord/guild.py

6
discord/guild.py

@ -2158,7 +2158,7 @@ class Guild(Hashable):
permissions: Permissions = ..., permissions: Permissions = ...,
colour: Union[Colour, int] = ..., colour: Union[Colour, int] = ...,
hoist: bool = ..., hoist: bool = ...,
mentionable: str = ..., mentionable: bool = ...,
) -> Role: ) -> Role:
... ...
@ -2171,7 +2171,7 @@ class Guild(Hashable):
permissions: Permissions = ..., permissions: Permissions = ...,
color: Union[Colour, int] = ..., color: Union[Colour, int] = ...,
hoist: bool = ..., hoist: bool = ...,
mentionable: str = ..., mentionable: bool = ...,
) -> Role: ) -> Role:
... ...
@ -2183,7 +2183,7 @@ class Guild(Hashable):
color: Union[Colour, int] = MISSING, color: Union[Colour, int] = MISSING,
colour: Union[Colour, int] = MISSING, colour: Union[Colour, int] = MISSING,
hoist: bool = MISSING, hoist: bool = MISSING,
mentionable: str = MISSING, mentionable: bool = MISSING,
reason: Optional[str] = None, reason: Optional[str] = None,
) -> Role: ) -> Role:
"""|coro| """|coro|

Loading…
Cancel
Save