diff --git a/discord/scheduled_event.py b/discord/scheduled_event.py index a469b557e..61b83be5a 100644 --- a/discord/scheduled_event.py +++ b/discord/scheduled_event.py @@ -76,6 +76,11 @@ class ScheduledEventExceptionCount: self._exception_snowflakes: Dict[Union[str, int], int] = data.get('guild_scheduled_event_exception_counts') + def __eq__(self, other: object) -> bool: + if isinstance(other, self.__class__): + return self.exception_ids == other.exception_ids + return NotImplemented + @property def exception_ids(self) -> List[int]: """List[:class:`int`]: A list containing all the exception event IDs"""