mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: don't try to re-send stickers and activity invites
This commit is contained in:
parent
2639989183
commit
a16903037f
5 changed files with 45 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ public record Message
|
|||
public ulong Id { get; init; }
|
||||
public ulong ChannelId { get; init; }
|
||||
public ulong? GuildId { get; init; }
|
||||
public MessageActivity? Activity { get; init; }
|
||||
public User Author { get; init; }
|
||||
public string? Content { get; init; }
|
||||
public string? Timestamp { get; init; }
|
||||
|
|
@ -54,6 +55,8 @@ public record Message
|
|||
|
||||
public Attachment[] Attachments { get; init; }
|
||||
public Embed[]? Embeds { get; init; }
|
||||
public Sticker[]? StickerItems { get; init; }
|
||||
public Sticker[]? Stickers { get; init; }
|
||||
public Reaction[] Reactions { get; init; }
|
||||
public bool Pinned { get; init; }
|
||||
public ulong? WebhookId { get; init; }
|
||||
|
|
@ -69,6 +72,8 @@ public record Message
|
|||
|
||||
public record Reference(ulong? GuildId, ulong? ChannelId, ulong? MessageId);
|
||||
|
||||
public record MessageActivity(int Type, string PartyId);
|
||||
|
||||
public record Attachment
|
||||
{
|
||||
public ulong Id { get; init; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue