Browse Source

Fix PermissionOverwrite.update typing not allowing None

pull/7750/head
Rapptz 3 years ago
parent
commit
b0501e56a0
  1. 2
      discord/permissions.py

2
discord/permissions.py

@ -751,7 +751,7 @@ class PermissionOverwrite:
""" """
return len(self._values) == 0 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. r"""Bulk updates this permission overwrite object.
Allows you to set multiple attributes by using keyword Allows you to set multiple attributes by using keyword

Loading…
Cancel
Save