feat(message): add MessageComponentsV2 flag

This commit is contained in:
Fedor Lapshin 2025-03-07 22:16:17 +03:00
parent e0f5cdab0a
commit 4d660d08b9
No known key found for this signature in database
GPG key ID: 492D745FB49D2DAB

View file

@ -230,6 +230,8 @@ const (
MessageFlagsSuppressNotifications MessageFlags = 1 << 12
// MessageFlagsIsVoiceMessage this message is a voice message.
MessageFlagsIsVoiceMessage MessageFlags = 1 << 13
// MessageComponentsV2 this message uses the new components system. Disables the ability of sending `content` & `embeds`
MessageComponentsV2 MessageFlags = 1 << 15
)
// File stores info about files you e.g. send in messages.