Skip to content

Commit 21ab3b0

Browse files
committed
fix: fix typing for PermissionOverwrite.update
1 parent a6b6922 commit 21ab3b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/permissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def is_empty(self) -> bool:
860860
"""
861861
return len(self._values) == 0
862862

863-
def update(self, **kwargs: bool) -> None:
863+
def update(self, **kwargs: bool | None) -> None:
864864
r"""Bulk updates this permission overwrite object.
865865
866866
Allows you to set multiple attributes by using keyword

0 commit comments

Comments
 (0)