New: Add indexer option for Discord on grab notifications

pull/5462/head
lodu 2 years ago committed by GitHub
parent 3d24e412a6
commit 5d09b84b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -101,6 +101,10 @@ namespace NzbDrone.Core.Notifications.Discord
discordField.Name = "Links";
discordField.Value = GetLinksString(series);
break;
case DiscordGrabFieldType.Indexer:
discordField.Name = "Indexer";
discordField.Value = message.Episode.Release.Indexer;
break;
}
if (discordField.Name.IsNotNullOrWhiteSpace() && discordField.Value.IsNotNullOrWhiteSpace())

@ -11,7 +11,8 @@ namespace NzbDrone.Core.Notifications.Discord
Links,
Release,
Poster,
Fanart
Fanart,
Indexer
}
public enum DiscordImportFieldType

Loading…
Cancel
Save