Added group reminder
This commit is contained in:
parent
83f9b2d0b8
commit
64ce169094
12 changed files with 853 additions and 45 deletions
|
@ -102,7 +102,8 @@ namespace Lieb.Models.GuildWars2.Raid
|
|||
Message = reminder.Message,
|
||||
Sent = false,
|
||||
Type = reminder.Type,
|
||||
TimeType = reminder.TimeType
|
||||
TimeType = reminder.TimeType,
|
||||
RoleId = reminder.RoleId
|
||||
});
|
||||
}
|
||||
foreach (DiscordRaidMessage message in template.DiscordRaidMessages)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue