using Discord; namespace Boyfriend.Data; public record MemberData { public long BannedUntil; public ulong Id; public bool IsInGuild; public List JoinedAt; public List LeftAt; public long MutedUntil; public List Reminders; public List Roles; public MemberData(IGuildUser user) { Id = user.Id; IsInGuild = true; JoinedAt = new List { user.JoinedAt!.Value.ToUnixTimeSeconds() }; LeftAt = new List(); Roles = user.RoleIds.ToList(); Reminders = new List(); MutedUntil = 0; BannedUntil = 0; } }