1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
@echo off echo Installing/updating bot dependencies call npm ci --only=production --loglevel=warn >NUL if NOT ["%errorlevel%"]==["0"] ( pause exit /b %errorlevel% ) echo Starting the bot call npm run start if NOT ["%errorlevel%"]==["0"] ( pause exit /b %errorlevel% )