mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
23 lines
602 B
C#
23 lines
602 B
C#
namespace TeamOctolings.Octobot.Data;
|
|
|
|
/// <summary>
|
|
/// Stores information about a member
|
|
/// </summary>
|
|
public sealed class MemberData
|
|
{
|
|
public MemberData(ulong id, List<Reminder>? reminders = null)
|
|
{
|
|
Id = id;
|
|
if (reminders is not null)
|
|
{
|
|
Reminders = reminders;
|
|
}
|
|
}
|
|
|
|
public ulong Id { get; }
|
|
public DateTimeOffset? BannedUntil { get; set; }
|
|
public DateTimeOffset? MutedUntil { get; set; }
|
|
public bool Kicked { get; set; }
|
|
public List<ulong> Roles { get; set; } = [];
|
|
public List<Reminder> Reminders { get; } = [];
|
|
}
|