Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ These changes are available on the `master` branch, but have not yet been releas
([#2843](https://github.com/Pycord-Development/pycord/pull/2843))
- Fixed `TypeError` when using `@option` with certain annotations and along with
`channel_types`. ([#2835](https://github.com/Pycord-Development/pycord/pull/2835))
- Fixed type hint for `PermissionOverwrite.update`
([#2878](https://github.com/Pycord-Development/pycord/pull/2878))
- Fixed `AttributeError` when accessing `AuditLogEntry.changes` more than once.
([#2882])(https://github.com/Pycord-Development/pycord/pull/2882))

Expand Down
2 changes: 1 addition & 1 deletion discord/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def is_empty(self) -> bool:
"""
return len(self._values) == 0

def update(self, **kwargs: bool) -> None:
def update(self, **kwargs: bool | None) -> None:
r"""Bulk updates this permission overwrite object.

Allows you to set multiple attributes by using keyword
Expand Down