1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

Don't use BannedUntil in MemberData.MemberData

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-03-24 12:53:24 +03:00
parent ac8621a2ec
commit 580c37236a
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1

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;