diff --git a/checker.sh b/checker.sh index 7827def..a929f30 100755 --- a/checker.sh +++ b/checker.sh @@ -1,11 +1,6 @@ #!/bin/bash -token=$(<.token) - -git_username="spenny.tf" -git_repo="tf2-servers" - -version=$( version.txt - curl -X POST https://drone.boehm.sh/api/repos/$git_username/$git_repo/builds -H "Authorization: Bearer $token" + 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