Skip to content
Open
Show file tree
Hide file tree
Changes from all 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 @@ -22,6 +22,8 @@ These changes are available on the `master` branch, but have not yet been releas
([#3231](https://github.com/Pycord-Development/pycord/pull/3231))
- Allow `ForumTag` to be created without an emoji.
([#3245](https://github.com/Pycord-Development/pycord/pull/3245))
- Fix `TypeError` when checking equality of two `PartialSoundboardSound` instances.
([#3262](https://github.com/Pycord-Development/pycord/pull/3262))

### Deprecated

Expand Down
3 changes: 1 addition & 2 deletions discord/soundboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
from .http import HTTPClient
from .state import ConnectionState


__all__ = (
"PartialSoundboardSound",
"SoundboardSound",
Expand Down Expand Up @@ -100,7 +99,7 @@ def _from_data(
def __eq__(
self, other: PartialSoundboardSound
) -> bool: # pyright: ignore[reportIncompatibleMethodOverride]
if isinstance(other, self, __class__):
if isinstance(other, __class__):
return self.id == other.id
return NotImplemented

Expand Down
Loading