ReportNotifier Slack notification support

This commit is contained in:
Benjamin Southall 2016-09-23 22:44:48 +09:00
parent df4c402f1a
commit d09953da07
2 changed files with 41 additions and 3 deletions

View file

@ -1669,3 +1669,9 @@
'<a href="https://youtu.be/$2" target="_blank" class="file">'.
'<img style="width:360px;height:270px;" src="//img.youtube.com/vi/$2/0.jpg" class="post-image"/>'.
'</a></div>';
// Slack Report Notification
$config['slack'] = true;
$config['slack_channel'] = "reports";
$config['slack_incoming_webhook_endpoint'] = "https://hooks.slack.com/services/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";