mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 16:20:13 +00:00
feat(bot): initial ComponentsV2 implementation
This commit is contained in:
parent
d4611b3769
commit
06df491c24
12 changed files with 401 additions and 67 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue