Browse Source
Fix incorrect typehints in Guild.create_role
pull/7069/merge
RobotHanzo
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
discord/guild.py
|
|
@ -2158,7 +2158,7 @@ class Guild(Hashable): |
|
|
|
permissions: Permissions = ..., |
|
|
|
colour: Union[Colour, int] = ..., |
|
|
|
hoist: bool = ..., |
|
|
|
mentionable: str = ..., |
|
|
|
mentionable: bool = ..., |
|
|
|
) -> Role: |
|
|
|
... |
|
|
|
|
|
|
@ -2171,7 +2171,7 @@ class Guild(Hashable): |
|
|
|
permissions: Permissions = ..., |
|
|
|
color: Union[Colour, int] = ..., |
|
|
|
hoist: bool = ..., |
|
|
|
mentionable: str = ..., |
|
|
|
mentionable: bool = ..., |
|
|
|
) -> Role: |
|
|
|
... |
|
|
|
|
|
|
@ -2183,7 +2183,7 @@ class Guild(Hashable): |
|
|
|
color: Union[Colour, int] = MISSING, |
|
|
|
colour: Union[Colour, int] = MISSING, |
|
|
|
hoist: bool = MISSING, |
|
|
|
mentionable: str = MISSING, |
|
|
|
mentionable: bool = MISSING, |
|
|
|
reason: Optional[str] = None, |
|
|
|
) -> Role: |
|
|
|
"""|coro| |
|
|
|