From c8d83565f4b1f927c5ea2a0c199e35e8e546bcfe Mon Sep 17 00:00:00 2001 From: Bram Ceulemans Date: Fri, 15 Mar 2019 22:05:56 +0100 Subject: [PATCH] Fix color for Discord webhook embed API --- apprise/plugins/NotifyDiscord.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apprise/plugins/NotifyDiscord.py b/apprise/plugins/NotifyDiscord.py index 9e7b7e5a..86c2ee40 100644 --- a/apprise/plugins/NotifyDiscord.py +++ b/apprise/plugins/NotifyDiscord.py @@ -131,9 +131,6 @@ class NotifyDiscord(NotifyBase): # If Text-To-Speech is set to True, then we do not want to wait # for the whole message before continuing. Otherwise, we wait 'wait': self.tts is False, - - # Our color associated with our notification - 'color': self.color(notify_type, int) } # Acquire image_url @@ -149,6 +146,9 @@ class NotifyDiscord(NotifyBase): 'title': title, 'type': 'rich', 'description': body, + + # Our color associated with our notification + 'color': self.color(notify_type, int), }] # Break titles out so that we can sort them in embeds