diff --git a/checker.sh b/checker.sh index 93d7d05..eb73374 100755 --- a/checker.sh +++ b/checker.sh @@ -17,4 +17,5 @@ else echo "$2: There has been an update, server version: ${version}, newest version: ${new_version}": curl -H "Content-Type: application/json" -d "{\"username\": \"Server Updater\", \"content\": \"$2: There has been an update, server version: $version, newest version: $new_version\"}" $discord_webhook (cd ~/docker/tf2; docker compose exec tf2dm-1 ./rcon -H 88.198.49.46 -p $1 -P $rcon_password changelevel cp_process_final) + curl -H "Content-Type: application/json" -d "{\"username\": \"Server Updater\", \"content\": \"$2 has been updated to the newest version: $new_version\"}" $discord_webhook_changelog fi