From 75477b2995e4cd3e007a2c5a8a7fe17975e49bc9 Mon Sep 17 00:00:00 2001 From: RobotHanzo <36107150+RobotHanzo@users.noreply.github.com> Date: Mon, 28 Jun 2021 12:05:40 +0800 Subject: [PATCH] Fix incorrect typehints in Guild.create_role --- discord/guild.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/guild.py b/discord/guild.py index 93980a0ad..67d41d80d 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|