summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-01-29 01:02:47 +0100
committerRory& <root@rory.gay>2026-01-29 01:02:47 +0100
commit5c593e8b0d06fd2a018746e49e283a3c3607519f (patch)
tree9101cc981ded42e3da80b7f1ae7ae757c199ddcd /src
parentRegenerate migrations for threads (diff)
downloadserver-ts-5c593e8b0d06fd2a018746e49e283a3c3607519f.tar.xz
Update message type enum
Diffstat (limited to 'src')
-rw-r--r--src/schemas/api/messages/Message.ts51
1 files changed, 45 insertions, 6 deletions
diff --git a/src/schemas/api/messages/Message.ts b/src/schemas/api/messages/Message.ts

index b6144f7f..02ae1ac4 100644 --- a/src/schemas/api/messages/Message.ts +++ b/src/schemas/api/messages/Message.ts
@@ -36,15 +36,54 @@ export enum MessageType { ACTION = 13, // /me messages GUILD_DISCOVERY_DISQUALIFIED = 14, GUILD_DISCOVERY_REQUALIFIED = 15, - ENCRYPTED = 16, + GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING = 16, + GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING = 17, + THREAD_CREATED = 18, REPLY = 19, APPLICATION_COMMAND = 20, // application command or self command invocation THREAD_STARTER_MESSAGE = 21, - ROUTE_ADDED = 41, // custom message routing: new route affecting that channel - ROUTE_DISABLED = 42, // custom message routing: given route no longer affecting that channel - SELF_COMMAND_SCRIPT = 43, // self command scripts - ENCRYPTION = 50, - CUSTOM_START = 63, + GUILD_INVITE_REMINDER = 22, + CONTEXT_MENU_COMMAND = 23, + AUTO_MODERATION_ACTION = 24, + ROLE_SUBSCRIPTION_PURCHASE = 25, + INTERACTION_PREMIUM_UPSELL = 26, + STAGE_START = 27, + STAGE_END = 28, + STAGE_SPEAKER = 29, + STAGE_RAISE_HAND = 30, + STAGE_TOPIC = 31, + GUILD_APPLICATION_PREMIUM_SUBSCRIPTION = 32, + PRIVATE_CHANNEL_INTEGRATION_ADDED = 33, // @deprecated + PRIVATE_CHANNEL_INTEGRATION_REMOVED = 34, // @deprecated + PREMIUM_REFERRAL = 35, + GUILD_INCIDENT_ALERT_MODE_ENABLED = 36, + GUILD_INCIDENT_ALERT_MODE_DISABLED = 37, + GUILD_INCIDENT_REPORT_RAID = 38, + GUILD_INCIDENT_REPORT_FALSE_ALARM = 39, + GUILD_DEADCHAT_REVIVE_PROMPT = 40, + CUSTOM_GIFT = 41, + GUILD_GAMING_STATS_PROMPT = 42, + POLL = 43, // @deprecated + PURCHASE_NOTIFICATION = 44, + VOICE_HANGOUT_INVITE = 45, // @deprecated + POLL_RESULT = 46, + CHANGELOG = 47, + NITRO_NOTIFICATION = 48, + CHANNEL_LINKED_TO_LOBBY = 49, + GIFTING_PROMPT = 50, + IN_GAME_MESSAGE_NUX = 51, + GUILD_JOIN_REQUEST_ACCEPT_NOTIFICATION = 52, + GUILD_JOIN_REQUEST_REJECT_NOTIFICATION = 53, + GUILD_JOIN_REQUEST_WITHDRAWN_NOTIFICATION = 54, + HD_STREAMING_UPGRADED = 55, + CHAT_WALLPAPER_SET = 56, // @deprecated + CHAT_WALLPAPER_REMOVE = 57, // @deprecated + REPORT_TO_MOD_DELETED_MESSAGE = 58, + REPORT_TO_MOD_TIMEOUT_USER = 59, + REPORT_TO_MOD_KICK_USER = 60, + REPORT_TO_MOD_BAN_USER = 61, + REPORT_TO_MOD_CLOSED_REPORT = 62, + EMOJI_ADDED = 63, UNHANDLED = 255, }