🚀 SakuraBot (Desarrollo)
✨️Hola, Soy SakuraBot Como Estas?❤️
Nota: Comandos para instalar de forma automática en Termux
termux-setup-storage
apt update -y && yes | apt upgrade && pkg install -y bash wget mpv && wget -O - https://raw.githubusercontent.com/diegojadibot/SakuraBot-MD/master/sakura.sh | bash
👇 Pasos para instalar el bot via termux 👇
termux-setup-storage
apt update && apt upgrade && pkg update && pkg upgrade && pkg install bash && pkg install libwebp && pkg install git -y && pkg install nodejs -y && pkg install ffmpeg -y && pkg install wget && pkg install imagemagick -y && pkg install yarn
git clone https://github.com/diegojadibot/SakuraBot-MD
cd SakuraBot-MD
yarn isntall
npm start
Si despues que ya instalastes tu bot y termux te salta en blanco, se fue tu internet o reiniciaste tu celular, solo realizaras estos pasos
> cd SakuraBot-MD
> npm start
> cd
> cd SakuraBot-MD
> rm -rf SakuraBotSession
> npm start
Ejecutar estos comandos dentro de la carpeta SakuraBot-MD
termux-wake-lock && npm i -g pm2 && pm2 start index.js && pm2 save && pm2 logs
Warning Esto eliminará todo el historial que hayas establecido con PM2:
pm2 delete index
Si tienes cerrado Termux y quiere ver de nuevo la ejecución use:
pm2 logs
Si desea detener la ejecución de Termux use:
pm2 stop index
Si desea iniciar de nuevo la ejecución de Termux use:
pm2 start index
Note Comandos para actualizar SakuraBot-MD de forma automática
grep -q 'bash\|wget' <(dpkg -l) || apt install -y bash wget && wget -O - https://raw.githubusercontent.com/diegojadibot/SakuraBot-MD/master/update.sh | bash
Para que no pierda su progreso en SakuraBot, estos comandos realizarán un respaldo de su database.json
y se agregará a la versión más reciente.
Warning Estos comandos solo funcionan para TERMUX, REPLIT, LINUX