Fix type mismatch on system export
This commit is contained in:
parent
d4eae405c0
commit
e6e1ab023a
@ -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
|
||||
|
@ -41,7 +41,7 @@ namespace PluralKit {
|
||||
|
||||
public struct MemberMessageCount
|
||||
{
|
||||
public PKMember Member;
|
||||
public int Member;
|
||||
public int MessageCount;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user