type hint set_permissions

This commit is contained in:
Sengolda 2021-10-18 12:12:00 +05:30
parent 387f1bb915
commit bcedffc4bc

View File

@ -703,7 +703,7 @@ class GuildChannel:
) -> None:
...
async def set_permissions(self, target, *, overwrite=_undefined, reason=None, **permissions):
async def set_permissions(self, target: Union[Member, User], *, overwrite: PermissionOverwrite, reason: Optional[str] = None, **permissions: bool):
r"""|coro|
Sets the channel specific permission overwrites for a target in the