From b73a259f68cf95345d4a72e00e497f85a62783c7 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Thu, 31 Dec 2015 20:13:54 -0800 Subject: [PATCH] Clean up Slack agent --- plexpy/notifiers.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index 01ed313e..16100738 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -1658,27 +1658,21 @@ class SLACK(object): {'label': 'Slack Channel', 'value': self.channel, 'name': 'slack_channel', - 'description': 'Your slack channel name. (Begin with \'#\')', + 'description': 'Your Slack channel name (begin with \'#\'). Leave blank for webhook integration default.', 'input_type': 'text' }, {'label': 'Slack Username', 'value': self.username, 'name': 'slack_username', - 'description': 'Slack username which will be shown', + 'description': 'The Slack username which will be shown. Leave blank for webhook integration default.', 'input_type': 'text' }, {'label': 'Slack Icon', 'value': self.icon_emoji, - 'description': 'Your icon you wish to show, use Slack emoji or image url', + 'description': 'The icon you wish to show, use Slack emoji or image url. Leave blank for webhook integration default.', 'name': 'slack_icon_emoji', 'input_type': 'text' - }, - {'label': 'Test Event', - 'value': 'Test Event', - 'name': 'testSlack', - 'description': 'Test if Slack notifications are working. See logs for troubleshooting.', - 'input_type': 'button' - } + } ] return config_option