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], target: Union[Member, Role],
*, *,
reason: Optional[str] = ..., reason: Optional[str] = ...,
**permissions: bool, **permissions: Optional[bool],
) -> None: ) -> None:
... ...
@ -798,7 +798,7 @@ class GuildChannel:
*, *,
overwrite: Any = _undefined, overwrite: Any = _undefined,
reason: Optional[str] = None, reason: Optional[str] = None,
**permissions: bool, **permissions: Optional[bool],
) -> None: ) -> None:
r"""|coro| r"""|coro|

Loading…
Cancel
Save