mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Clean up Slack agent
This commit is contained in:
parent
65f27ee605
commit
b73a259f68
1 changed files with 4 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue