mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-13 17:26:08 +03:00
Merge branch 'master' into fix-event-interested-mentions
This commit is contained in:
commit
e5781d109a
2 changed files with 8 additions and 4 deletions
|
@ -5,10 +5,14 @@ namespace Octobot.Data;
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class MemberData
|
public sealed class MemberData
|
||||||
{
|
{
|
||||||
public MemberData(ulong id, DateTimeOffset? bannedUntil = null)
|
public MemberData(ulong id, DateTimeOffset? bannedUntil = null, List<Reminder>? reminders = null)
|
||||||
{
|
{
|
||||||
Id = id;
|
Id = id;
|
||||||
BannedUntil = bannedUntil;
|
BannedUntil = bannedUntil;
|
||||||
|
if (reminders is not null)
|
||||||
|
{
|
||||||
|
Reminders = reminders;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ulong Id { get; }
|
public ulong Id { get; }
|
||||||
|
|
|
@ -2,7 +2,7 @@ namespace Octobot.Data;
|
||||||
|
|
||||||
public struct Reminder
|
public struct Reminder
|
||||||
{
|
{
|
||||||
public DateTimeOffset At;
|
public DateTimeOffset At { get; init; }
|
||||||
public string Text;
|
public string Text { get; init; }
|
||||||
public ulong Channel;
|
public ulong Channel { get; init; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue