Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(guild): support guild incidents #1230

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: add new fields to IncidentsData.__eq__
  • Loading branch information
shiftinv committed Aug 16, 2024
commit 69ab9c335c7d2819304fcc4b699a8b3e8799fc5d
2 changes: 2 additions & 0 deletions disnake/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ def __eq__(self, other: Any) -> bool:
isinstance(other, IncidentsData)
and self.invites_disabled_until == other.invites_disabled_until
and self.dms_disabled_until == other.dms_disabled_until
and self.dm_spam_detected_at == other.dm_spam_detected_at
and self.raid_detected_at == other.raid_detected_at
)


Expand Down