feat(bot): initial ComponentsV2 implementation

This commit is contained in:
Iris System 2025-08-25 11:30:46 +12:00
parent 695d1debf2
commit 517d4d9b56
12 changed files with 401 additions and 67 deletions

View file

@ -17,6 +17,7 @@ public record Message
Ephemeral = 1 << 6,
SuppressNotifications = 1 << 12,
VoiceMessage = 1 << 13,
IsComponentsV2 = 1 << 15,
}
public enum MessageType
@ -73,8 +74,6 @@ public record Message
public MessagePoll? Poll { get; init; }
// public MessageComponent[]? Components { get; init; }
public record Reference(ulong? GuildId, ulong? ChannelId, ulong? MessageId);
public record MessageActivity(int Type, string PartyId);