Spaces:
Paused
Paused
Update bot
Browse files- termux_autoupdate.sh +2 -2
termux_autoupdate.sh
CHANGED
|
@@ -15,7 +15,7 @@ ensure_bot() {
|
|
| 15 |
fi
|
| 16 |
}
|
| 17 |
|
| 18 |
-
cd ~/BotDC &&
|
| 19 |
log "Bot uruchomiony"
|
| 20 |
|
| 21 |
while true; do
|
|
@@ -35,7 +35,7 @@ while true; do
|
|
| 35 |
|
| 36 |
LOCAL_VER=$(head -1 au.version)
|
| 37 |
log "Restartuje bota po aktualizacji..."
|
| 38 |
-
|
| 39 |
sleep 1
|
| 40 |
cd ~/BotDC && screen -dmS bot python bot.py
|
| 41 |
fi
|
|
|
|
| 15 |
fi
|
| 16 |
}
|
| 17 |
|
| 18 |
+
cd ~/BotDC && python bot.py
|
| 19 |
log "Bot uruchomiony"
|
| 20 |
|
| 21 |
while true; do
|
|
|
|
| 35 |
|
| 36 |
LOCAL_VER=$(head -1 au.version)
|
| 37 |
log "Restartuje bota po aktualizacji..."
|
| 38 |
+
python bot.py
|
| 39 |
sleep 1
|
| 40 |
cd ~/BotDC && screen -dmS bot python bot.py
|
| 41 |
fi
|