Fix incorrect typehints in Guild.create_role
This commit is contained in:
parent
2cd2d1d3ee
commit
75477b2995
@ -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…
x
Reference in New Issue
Block a user