forked from TeamInklings/Octobot
Don't use BannedUntil in MemberData.<init> (#286)
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
ac8621a2ec
commit
a9509deb1c
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Reference in a new issue