1
0
Fork 0
mirror of https://gitlab.crans.org/elkmaennchen/gitscord-webhook synced 2025-10-11 02:00:04 +02:00

bug : color was always dark

This commit is contained in:
elkmaennchen 2020-10-28 13:57:35 +01:00
parent b81c394bde
commit e56164a229
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -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'] != '') {