Remove unused, confusing property

This commit is contained in:
Noi 2022-07-09 13:23:34 -07:00
parent a16354e425
commit 9e09800bff

View file

@ -22,13 +22,6 @@ public class CachedGuildMessage {
public string Content { get; set; } = null!;
/// <summary>Gets the timestamp when the message was last updated.</summary>
/// <remarks>
/// This is equivalent to coalescing the value of <see cref="EditedAt"/> and <see cref="CreatedAt"/>.
/// </remarks>
[NotMapped]
public DateTimeOffset LastUpdatedAt => EditedAt ?? CreatedAt;
[ForeignKey(nameof(AuthorId))]
[InverseProperty(nameof(CachedUser.GuildMessages))]
public CachedUser Author { get; set; } = null!;