escaping quotes
This commit is contained in:
parent
c5fe1de3c2
commit
b62ddcb741
1 changed files with 1 additions and 1 deletions
|
@ -10,5 +10,5 @@ then
|
|||
else
|
||||
new_version=`curl -s "https://api.steampowered.com/ISteamApps/UpToDateCheck/v1/?appid=440&version=${version}" | jq -r .response.required_version`
|
||||
echo "There has been an update, server version: ${version}, newest version: ${new_version}"
|
||||
curl -H "Content-Type: application/json" -d '{"username": "Server Version", "content": "There has been an update, server version: ${version}, newest version: ${new_version}"}' "https://discord.com/api/webhooks/1027862143871221770/iK9CAShzV5nrVW_k7m9fouHa5EIOPoXCOofCp7ap9JYEKgmlYgaIgf3NJ2YFb_wy-Y7s"
|
||||
curl -H "Content-Type: application/json" -d "{\"username\": \"Server Version\", \"content\": \"There has been an update, server version: $version, newest version: $new_version\"}" "https://discord.com/api/webhooks/1027862143871221770/iK9CAShzV5nrVW_k7m9fouHa5EIOPoXCOofCp7ap9JYEKgmlYgaIgf3NJ2YFb_wy-Y7s"
|
||||
fi
|
||||
|
|
Reference in a new issue