anchor.diff:  	echo Starting up...
   	ping 127.0.0.1 -n 4 >nul
   :run
  +	if exist tmp.txt del tmp.txt
   	type cogs\utils\credit.txt
   	echo[
   	echo[
  
positive.code: set findfile="tmp.txt"
  set findtext="up"
  findstr %findtext% %findfile% >nul 2>&1
  if errorlevel 1 goto prompt
  del tmp.txt
  goto run
  
  
  :prompt
  	choice /t 10 /c yn /d n /m "There is an update for the bot. Download now?"
  	if errorlevel 2 goto :run
  
negative.code: 	echo d | xcopy settings tmp /E >nul
  	echo Backing up your settings...
  	ren settings settings2
  	echo Latest update:
  	git --no-pager log --pretty=oneline -n1 origin/master ^master
  	git pull origin master
  	if errorlevel 1 goto force
  	echo Finished updating
  	ping 127.0.0.1 -n 2 >nul
  	rmdir /s /q settings >nul 2>&1
  	ren settings2 settings
  	echo Starting up...
  	ping 127.0.0.1 -n 4 >nul
  