mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
Fix PermissionOverwrite.update typing not allowing None
This commit is contained in:
parent
062f4d6f87
commit
b0501e56a0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user