瀏覽代碼

discord now uses extip instead of ip.

Daniel Gibbs 8 年之前
父節點
當前提交
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",
-				"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",