Skip to content

Commit b030d65

Browse files
LawMixerpre-commit-ci[bot]silasary
authored
fix: Add POLL_RESULT to MessageType enum (#1735)
* 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 <[email protected]>
1 parent bd900d9 commit b030d65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: interactions/models/discord/enums.py

+2
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ class MessageType(CursedIntEnum):
399399
GUILD_INCIDENT_REPORT_RAID = 38
400400
GUILD_INCIDENT_REPORT_FALSE_ALARM = 39
401401
PURCHASE_NOTIFICATION = 44
402+
POLL_RESULT = 46
402403

403404
@classmethod
404405
def deletable(cls) -> Tuple["MessageType", ...]:
@@ -434,6 +435,7 @@ def deletable(cls) -> Tuple["MessageType", ...]:
434435
cls.GUILD_INCIDENT_REPORT_RAID,
435436
cls.GUILD_INCIDENT_REPORT_FALSE_ALARM,
436437
cls.PURCHASE_NOTIFICATION,
438+
cls.POLL_RESULT,
437439
)
438440

439441

0 commit comments

Comments
 (0)