aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobotHanzo <[email protected]>2021-06-28 12:05:40 +0800
committerGitHub <[email protected]>2021-06-28 00:05:40 -0400
commit75477b2995e4cd3e007a2c5a8a7fe17975e49bc9 (patch)
tree82628ff38c92b3da4c85273d82c4ae5d19e12e3c
parent[commands] Rename missing_perms to missing_permissions (diff)
downloaddiscord.py-75477b2995e4cd3e007a2c5a8a7fe17975e49bc9.tar.xz
discord.py-75477b2995e4cd3e007a2c5a8a7fe17975e49bc9.zip
Fix incorrect typehints in Guild.create_role
-rw-r--r--discord/guild.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/guild.py b/discord/guild.py
index 93980a0a..67d41d80 100644
--- a/discord/guild.py
+++ b/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|