From cd5bbfe74b807586a07707aea7886d32f8401885 Mon Sep 17 00:00:00 2001 From: barbequesauce Date: Mon, 26 Feb 2018 10:22:34 -0500 Subject: [PATCH] FIX: #1861 move notif from attachment to msg body FIX: #1861 move notif from attachment to msg body --- mylar/notifiers.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/mylar/notifiers.py b/mylar/notifiers.py index badc3681..f4dc0383 100644 --- a/mylar/notifiers.py +++ b/mylar/notifiers.py @@ -458,13 +458,15 @@ class SLACK: module += '[NOTIFIER]' payload = { - "text": text, - "attachments": [ - { - "color": "#36a64f", - "text": attachment_text - } - ] +# "text": text, +# "attachments": [ +# { +# "color": "#36a64f", +# "text": attachment_text +# } +# ] +# FIX: #1861 move notif from attachment to msg body - bbq + "text": attachment_text } try: