1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 12:32:31 +01:00

Include full grab/import message for Slack notifications

This commit is contained in:
Mark McDowall 2016-06-18 10:57:18 -07:00
parent 7c8a8f8e55
commit f1c007c5fe

View File

@ -40,7 +40,7 @@ public override void OnGrab(GrabMessage message)
{ {
IconEmoji = Settings.Icon, IconEmoji = Settings.Icon,
Username = Settings.Username, Username = Settings.Username,
Text = "Grabbed", Text = $"Grabbed: {message.Message}",
Attachments = new List<Attachment> Attachments = new List<Attachment>
{ {
new Attachment new Attachment
@ -62,7 +62,7 @@ public override void OnDownload(DownloadMessage message)
{ {
IconEmoji = Settings.Icon, IconEmoji = Settings.Icon,
Username = Settings.Username, Username = Settings.Username,
Text = "Downloaded", Text = $"Imported: {message.Message}",
Attachments = new List<Attachment> Attachments = new List<Attachment>
{ {
new Attachment new Attachment