1
0
Fork 1
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:
Octol1ttle 2023-10-17 17:05:09 +05:00 committed by GitHub
commit e5781d109a
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -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; }

View file

@ -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; }
} }