C# Discord bot made using NetCord for keeping a TikTok-style streak
1namespace StreakBot.Data.Entities;
2
3public class Streak
4{
5 public int Id { get; set; }
6 public DateTime CreatedDate { get; set; }
7 public ulong User1Id { get; set; }
8 public ulong User2Id { get; set; }
9 public ulong ServerId { get; set; }
10 public ulong ChannelId { get; set; }
11 public bool User1MessageSent { get; set; }
12 public bool User2MessageSent { get; set; }
13 public int StreakNumber { get; set; }
14 public DateTime LastResetCheck { get; set; }
15 public bool ReminderSent { get; set; }
16 public int? StreakNumberToRestore { get; set; }
17 public int MonthlyRestores { get; set; } = 5;
18}