mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 09:09:00 +03:00
Octol1ttle
abbb58f801
result checks go brrr this also involves switching to using Discord's modern stuff like embeds and interactions and using brand-new for me programming concepts (dependency injection, results) --------- Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com> Signed-off-by: mctaylors <95250141+mctaylors@users.noreply.github.com> Co-authored-by: mctaylors <95250141+mctaylors@users.noreply.github.com> Co-authored-by: nrdk <neroduck@vk.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
17 lines
635 B
C#
17 lines
635 B
C#
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>
|
|
public class ScheduledEventData {
|
|
public ScheduledEventData(GuildScheduledEventStatus status) {
|
|
Status = status;
|
|
}
|
|
|
|
public bool EarlyNotificationSent { get; set; }
|
|
public DateTimeOffset? ActualStartTime { get; set; }
|
|
public GuildScheduledEventStatus Status { get; set; }
|
|
}
|