Don't use BannedUntil in MemberData.<init> (#286)

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-03-24 13:11:00 +03:00 committed by GitHub
parent ac8621a2ec
commit a9509deb1c
Signed by: GitHub
GPG key ID: B5690EEEBB952194

View file

@ -5,10 +5,9 @@ namespace Octobot.Data;
/// </summary> /// </summary>
public sealed class MemberData public sealed class MemberData
{ {
public MemberData(ulong id, DateTimeOffset? bannedUntil = null, List<Reminder>? reminders = null) public MemberData(ulong id, List<Reminder>? reminders = null)
{ {
Id = id; Id = id;
BannedUntil = bannedUntil;
if (reminders is not null) if (reminders is not null)
{ {
Reminders = reminders; Reminders = reminders;