- added "Discord" WebHook support, closed #547

This commit is contained in:
Mark Friedrich
2017-12-20 17:36:58 +01:00
parent 2cc12f0b61
commit 17bc619425
20 changed files with 383 additions and 54 deletions

View File

@@ -806,6 +806,14 @@ class Setup extends Controller {
$label = '<i class="fa fa-fw fa-slack"></i> Rally point poke Slack';
$tooltip = 'If "enabled", map admins can set a Slack channel for rally point pokes.';
break;
case 'send_history_discord_enabled':
$label = '<i class="fa fa-fw fa-microphone"></i> History log Discord';
$tooltip = 'If "enabled", map admins can set a Discord channel were map logs get piped to.';
break;
case 'send_rally_discord_enabled':
$label = '<i class="fa fa-fw fa-microphone"></i> Rally point poke Discord';
$tooltip = 'If "enabled", map admins can set a Discord channel for rally point pokes.';
break;
case 'send_rally_mail_enabled':
$label = '<i class="fa fa-fw fa-envelope"></i> Rally point poke Email';
$tooltip = 'If "enabled", rally point pokes can be send by Email (SMTP config + recipient address required).';