mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
feat(notifications): ✨ Added Partially Available Notifications
This commit is contained in:
parent
6fdeeea87b
commit
1ef45dc44c
24 changed files with 286 additions and 54 deletions
|
@ -94,6 +94,10 @@ namespace Ombi.Notifications.Agents
|
|||
{
|
||||
await Run(model, settings, NotificationType.RequestAvailable);
|
||||
}
|
||||
protected override async Task PartiallyAvailable(NotificationOptions model, DiscordNotificationSettings settings)
|
||||
{
|
||||
await Run(model, settings, NotificationType.PartiallyAvailable);
|
||||
}
|
||||
|
||||
protected override async Task Send(NotificationMessage model, DiscordNotificationSettings settings)
|
||||
{
|
||||
|
@ -166,8 +170,6 @@ namespace Ombi.Notifications.Agents
|
|||
author.name = appName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
var embed = new DiscordEmbeds
|
||||
{
|
||||
fields = fields,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue