From ab335515530f27985251c35345d9b8ebb45df51e Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 22 Apr 2022 04:50:10 -0400 Subject: [PATCH] Fix type hints on GuildChannel.set_permissions --- discord/abc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/abc.py b/discord/abc.py index 5344e0a04..78953dad7 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -788,7 +788,7 @@ class GuildChannel: target: Union[Member, Role], *, reason: Optional[str] = ..., - **permissions: bool, + **permissions: Optional[bool], ) -> None: ... @@ -798,7 +798,7 @@ class GuildChannel: *, overwrite: Any = _undefined, reason: Optional[str] = None, - **permissions: bool, + **permissions: Optional[bool], ) -> None: r"""|coro|