1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-17 10:45:49 +02:00

New: Changed colour of Discord On Download notifications

Closes #4036
This commit is contained in:
Robin Dadswell 2020-10-26 14:45:50 +00:00 committed by GitHub
parent 0de3f10701
commit 42d93f6fdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ public override void OnDownload(DownloadMessage message)
Url = $"http://thetvdb.com/?tab=series&id={series.TvdbId}",
Description = isUpgrade ? "Episode Upgraded" : "Episode Imported",
Title = GetTitle(series, episodes),
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")
};