Browse Source

Fix type hints on GuildChannel.set_permissions

pull/7919/head
Rapptz 3 years ago
parent
commit
ab33551553
  1. 4
      discord/abc.py

4
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|

Loading…
Cancel
Save