1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-13 17:26:08 +03:00

fix(reminders): convert Reminder fields to properties to allow for serialization

This commit is contained in:
Octol1ttle 2023-10-17 16:07:04 +05:00
parent 67d44ff835
commit d2eb62e658
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -2,7 +2,7 @@ namespace Octobot.Data;
public struct Reminder
{
public DateTimeOffset At;
public string Text;
public ulong Channel;
public DateTimeOffset At { get; init; }
public string Text { get; init; }
public ulong Channel { get; init; }
}