fix(bot): check message type in message update events

This commit is contained in:
rladenson 2025-04-28 05:56:21 -06:00
parent 35090babd4
commit 94a3276979
2 changed files with 3 additions and 5 deletions

View file

@ -10,6 +10,8 @@ public record MessageUpdateEvent(ulong Id, ulong ChannelId): IGatewayEvent
public Optional<GuildMemberPartial> Member { get; init; }
public Optional<Message.Attachment[]> Attachments { get; init; }
public Message.MessageType Type { get; init; }
public Optional<ulong?> GuildId { get; init; }
// TODO: lots of partials
}