Skip to content

Commit

Permalink
fix: Add POLL_RESULT to MessageType enum (#1735)
Browse files Browse the repository at this point in the history
* added type 36 & 38

* added type 46

* ci: correct from checks.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Katelyn Gigante <clockwork.singularity@gmail.com>
  • Loading branch information
3 people authored Sep 28, 2024
1 parent bd900d9 commit b030d65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions interactions/models/discord/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ class MessageType(CursedIntEnum):
GUILD_INCIDENT_REPORT_RAID = 38
GUILD_INCIDENT_REPORT_FALSE_ALARM = 39
PURCHASE_NOTIFICATION = 44
POLL_RESULT = 46

@classmethod
def deletable(cls) -> Tuple["MessageType", ...]:
Expand Down Expand Up @@ -434,6 +435,7 @@ def deletable(cls) -> Tuple["MessageType", ...]:
cls.GUILD_INCIDENT_REPORT_RAID,
cls.GUILD_INCIDENT_REPORT_FALSE_ALARM,
cls.PURCHASE_NOTIFICATION,
cls.POLL_RESULT,
)


Expand Down

0 comments on commit b030d65

Please sign in to comment.