Fix PermissionOverwrite.update typing not allowing None

This commit is contained in:
Rapptz 2022-03-22 18:55:42 -04:00
parent 062f4d6f87
commit b0501e56a0

View File

@ -751,7 +751,7 @@ class PermissionOverwrite:
"""
return len(self._values) == 0
def update(self, **kwargs: bool) -> None:
def update(self, **kwargs: Optional[bool]) -> None:
r"""Bulk updates this permission overwrite object.
Allows you to set multiple attributes by using keyword