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:
parent
b81c394bde
commit
e56164a229
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
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…
Reference in a new issue