diff --git a/PluralKit.Core/DataFiles.cs b/PluralKit.Core/DataFiles.cs index 403cbad7..2ae55944 100644 --- a/PluralKit.Core/DataFiles.cs +++ b/PluralKit.Core/DataFiles.cs @@ -40,7 +40,7 @@ namespace PluralKit.Bot Prefix = m.Prefix, Suffix = m.Suffix, Created = Formats.TimestampExportFormat.Format(m.Created), - MessageCount = messageCounts.Where(x => x.Member.Equals(m.Id)).Select(x => x.MessageCount).FirstOrDefault() + MessageCount = messageCounts.Where(x => x.Member == m.Id).Select(x => x.MessageCount).FirstOrDefault() })); // Export switches diff --git a/PluralKit.Core/Stores.cs b/PluralKit.Core/Stores.cs index 07bffa6c..a9576c69 100644 --- a/PluralKit.Core/Stores.cs +++ b/PluralKit.Core/Stores.cs @@ -41,7 +41,7 @@ namespace PluralKit { public struct MemberMessageCount { - public PKMember Member; + public int Member; public int MessageCount; }