Skip to content

Commit

Permalink
fix: add missing message types, change message type 32 deletable to t…
Browse files Browse the repository at this point in the history
…rue (#1590)
  • Loading branch information
ItsRqtl authored Dec 9, 2023
1 parent 53d6c8f commit 567b3a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions interactions/models/discord/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ class MessageType(CursedIntEnum):
STAGE_SPEAKER = 29
STAGE_TOPIC = 31
GUILD_APPLICATION_PREMIUM_SUBSCRIPTION = 32
GUILD_INCIDENT_ALERT_MODE_ENABLED = 36
GUILD_INCIDENT_ALERT_MODE_DISABLED = 37
GUILD_INCIDENT_REPORT_RAID = 38
GUILD_INCIDENT_REPORT_FALSE_ALARM = 39

@classmethod
def deletable(cls) -> Tuple["MessageType", ...]:
Expand All @@ -407,6 +411,7 @@ def deletable(cls) -> Tuple["MessageType", ...]:
cls.STAGE_END,
cls.STAGE_SPEAKER,
cls.STAGE_TOPIC,
cls.GUILD_APPLICATION_PREMIUM_SUBSCRIPTION,
)


Expand Down

0 comments on commit 567b3a7

Please sign in to comment.