2023-07-09 16:32:14 +03:00
|
|
|
using Remora.Discord.API.Abstractions.Objects;
|
|
|
|
|
|
|
|
namespace Boyfriend.Data;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Stores information about scheduled events. This information is not provided by the Discord API.
|
|
|
|
/// </summary>
|
|
|
|
/// <remarks>This information is stored on disk as a JSON file.</remarks>
|
2023-08-02 23:51:16 +03:00
|
|
|
public sealed class ScheduledEventData
|
|
|
|
{
|
2023-08-12 16:47:14 +03:00
|
|
|
public ScheduledEventData(GuildScheduledEventStatus? status)
|
2023-08-02 23:51:16 +03:00
|
|
|
{
|
2023-07-09 16:32:14 +03:00
|
|
|
Status = status;
|
|
|
|
}
|
|
|
|
|
2023-08-02 23:51:16 +03:00
|
|
|
public bool EarlyNotificationSent { get; set; }
|
|
|
|
public DateTimeOffset? ActualStartTime { get; set; }
|
2023-08-12 16:47:14 +03:00
|
|
|
public GuildScheduledEventStatus? Status { get; set; }
|
2023-07-09 16:32:14 +03:00
|
|
|
}
|