diff --git a/checker.sh b/checker.sh index a929f30..fafd781 100755 --- a/checker.sh +++ b/checker.sh @@ -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