diff --git a/check_storage.sh b/check_storage.sh index 32fae53..29d7685 100644 --- a/check_storage.sh +++ b/check_storage.sh @@ -1,6 +1,6 @@ #!/bin/bash limit=1 -WEBHOOK_URL="https://discord.com/api/webhooks/1479039017264746536/qwdnBsW1yPdtzSTirYs6GORmtppfOObNnEHTVlMoADrAIxTY2ja1uslSBvRyXK4XJCex" +WEBHOOK_URL="https://discord.com/api/webhooks/1479061246903845048/oInyHOf1l7t-jbu9c1lvQDBUxT7m96sUpoDak-V_wjR4IRFi2zz9prC20IKq6cLHF8FO" usage=$(df -h / | awk 'NR==2 {gsub(/%/,"",$5); print $5}') free=$((100 - usage))