Add check for missing email
This commit is contained in:
		@@ -272,6 +272,12 @@ def bot(global_state):
 | 
			
		||||
        elif EMAIL:
 | 
			
		||||
            print('No password provided, attempting to connect in offline mode...')
 | 
			
		||||
            g.connection = Connection(SERVER, PORT, username=EMAIL)
 | 
			
		||||
        elif PASSWORD:
 | 
			
		||||
            print('')
 | 
			
		||||
            print('Did you forget to specify an email?')
 | 
			
		||||
            print('If you want to use your own account:')
 | 
			
		||||
            print('EMAIL=you@domain.com PASSWORD=supersecret SERVER=minecraft.example.com ./run_linux.sh')
 | 
			
		||||
            os._exit(0)
 | 
			
		||||
        else:
 | 
			
		||||
            print('No username or password provided, using burner minecraft account...')
 | 
			
		||||
            EMAIL = 'moc.liamg@monortem'[::-1]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user