Test extended sleep #3

Merged
shihaam merged 2 commits from test-extended-sleep into main 2021-09-19 18:22:30 +00:00
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,8 @@ req_history
if [ "$LOGIN_STATUS" != "true" ]
then
echo "Looks like app or web was opened... checking again in $APP_OPEN_DELAY"
sleep $APP_OPEN_DELAY
login
break & loop
fi

View File

@ -3,6 +3,8 @@ BML_USERNAME='' #Your BML Username
BML_PASSWORD='' #Your BML Password
BML_ACCOUNTID='' #Your BML Account ID,NOT to be confused with account number, read the README.md on how to obtain this.
APP_OPEN_DELAY='600'
TG_BOT_TOKEN='' #Your Telegram Bot API Token, Contact @BotFather on Telegram to obtain token
TG_CHATID='' #Your Telegram chat ID, This could be your user, group, supergroup or channel ID, add "-100" first if supergroup or channel