bug : color was always dark

dev
elkmaennchen 4 years ago
parent b81c394bde
commit e56164a229

1
.gitignore vendored

@ -2,3 +2,4 @@ webhook_test_json_mail.php
webhook_test_envoi_discord.php
gitscord_webhook_config.json
send_post_request_like_gitlab.py
payloads_examples

@ -29,7 +29,7 @@ if ($plainJSON != '') {
$mhl_color = "FF7000"; // default orange color if not given
}
else {
$mhl_color = $configJSON['highlight_color'];
$mhl_color = $configJSON['message_highlight_color'];
}
$messageJSON = array(); // JSON to send to Discord
if ($configJSON['bot_name'] != '') {

Loading…
Cancel
Save