1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

updated OnDownload to use 'Success' Colour

This commit is contained in:
Robin Dadswell 2020-10-26 15:42:32 +00:00 committed by Qstick
parent cfb44c7db7
commit b474961b65

View File

@ -122,7 +122,7 @@ public override void OnDownload(DownloadMessage message)
Url = $"https://www.themoviedb.org/movie/{message.Movie.TmdbId}",
Description = isUpgrade ? "Movie Upgraded" : "Movie Imported",
Title = message.Movie.Year > 0 ? $"{message.Movie.Title} ({message.Movie.Year})" : message.Movie.Title,
Color = isUpgrade ? (int)DiscordColors.Upgrade : (int)DiscordColors.Standard,
Color = isUpgrade ? (int)DiscordColors.Upgrade : (int)DiscordColors.Success,
Fields = new List<DiscordField>(),
Timestamp = DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ss.fffZ")
};