mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-03 12:39:54 +03:00
style: move root namespace to TeamOctolings.Octobot
This commit is contained in:
parent
19fadead91
commit
3e6240f4b8
61 changed files with 421 additions and 441 deletions
23
TeamOctolings.Octobot/Data/MemberData.cs
Normal file
23
TeamOctolings.Octobot/Data/MemberData.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
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; } = [];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue