you fucking retard istg

This commit is contained in:
Shihaam Abdul Rahman 2022-04-08 15:35:10 +05:00
parent 2834f229b8
commit b8b695dfbf
Signed by: shihaam
GPG Key ID: 16ADCF6871CB2A56

View File

@ -13,7 +13,7 @@ source .env
TEXT="🔴BML Down"
STATUS=DOWN
BOTSTATUS$(curl -si https://bmlstatus.shihaam.dev/login | head -n1 | awk '{print $2}')
if [ "$BOTSTATUS" = 69" ]
if [ "$BOTSTATUS" = "69" ]
then
curl -s $TG_BOTAPI$TG_BOT_TOKEN/sendMessage?chat_id=$PROXY_ALERT_CHATID'&'text=${TGTEXT}${BOTSTATUS}
STATUS_OLD=$STATUS