Просмотр исходного кода

discord now uses extip instead of ip.

Daniel Gibbs 8 лет назад
Родитель
Сommit
305b5b0403
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/alert_discord.sh

+ 1 - 1
lgsm/functions/alert_discord.sh

@@ -39,7 +39,7 @@ json=$(cat <<EOF
 			},
 			},
 			{
 			{
 				"name": "Server IP",
 				"name": "Server IP",
-				"value": "[${ip}:${port}](https://www.gametracker.com/server_info/${ip}:${port})"
+				"value": "[${extip:-$ip}:${port}](https://www.gametracker.com/server_info/${extip:-$ip}:${port})"
 			},
 			},
 			{
 			{
 				"name": "More info",
 				"name": "More info",