Skip to content

Commit 567b3a7

Browse files
authored
fix: add missing message types, change message type 32 deletable to true (#1590)
1 parent 53d6c8f commit 567b3a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

interactions/models/discord/enums.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,10 @@ class MessageType(CursedIntEnum):
382382
STAGE_SPEAKER = 29
383383
STAGE_TOPIC = 31
384384
GUILD_APPLICATION_PREMIUM_SUBSCRIPTION = 32
385+
GUILD_INCIDENT_ALERT_MODE_ENABLED = 36
386+
GUILD_INCIDENT_ALERT_MODE_DISABLED = 37
387+
GUILD_INCIDENT_REPORT_RAID = 38
388+
GUILD_INCIDENT_REPORT_FALSE_ALARM = 39
385389

386390
@classmethod
387391
def deletable(cls) -> Tuple["MessageType", ...]:
@@ -407,6 +411,7 @@ def deletable(cls) -> Tuple["MessageType", ...]:
407411
cls.STAGE_END,
408412
cls.STAGE_SPEAKER,
409413
cls.STAGE_TOPIC,
414+
cls.GUILD_APPLICATION_PREMIUM_SUBSCRIPTION,
410415
)
411416

412417

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy