Added group reminder

This commit is contained in:
Sarah Faey 2022-12-08 23:27:26 +01:00
parent 83f9b2d0b8
commit 64ce169094
12 changed files with 853 additions and 45 deletions

View file

@ -8,7 +8,8 @@ namespace Lieb.Models.GuildWars2.Raid
public enum ReminderType
{
User = 1,
Channel = 2
Channel = 2,
Group = 3
}
public enum ReminderTimeType
@ -20,7 +21,7 @@ namespace Lieb.Models.GuildWars2.Raid
public int RaidReminderId { get; set; }
[Required]
[Range(1, 2, ErrorMessage = "Please select a reminder type")]
[Range(1, 3, ErrorMessage = "Please select a reminder type")]
public ReminderType Type { get; set; }
[Required]
@ -38,6 +39,8 @@ namespace Lieb.Models.GuildWars2.Raid
public ulong DiscordChannelId { get; set; }
public int RoleId {get; set; }
public bool Sent { get; set; } = false;
}