mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 16:32:59 +00:00
Fix PermissionOverwrite.update typing not allowing None
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user