@echo off
:a
title DISCORD.PY BOT RUNNER
cls
color 0a
python bot.py
if errorlevel == 1 (
color 4
echo.
echo ERROR
echo.
echo [1] CLOSE : [2] RESTART
set /p error = ""
if %error% == 1 exit
if %error% == 2 goto a
)
echo BOT IS CLOSED
echo.
echo [1] CLOSE
set /p closed = ""
if %closed% == 1 exit
Can anyone say me whats wrong with this script? I see there are nothing wrong. Bc i want to make an discord.py bot starter.