Updated README

This commit is contained in:
Andrey 2021-10-14 18:43:17 +04:00 committed by GitHub
parent aeb8f58f6e
commit 3bf8013461
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ aternos = Client('example', password='test123')
aternos = Client('example', md5='cc03e747a6afbbcbf8be7668acfebee5')
# get_servers returns AternosServer list
atservers = aternos.get_servers()
atservers = aternos.servers
# If you have only one server, get it by 0 index
myserv = atservers[0]
@ -38,7 +38,7 @@ myserv.start()
# Stop
myserv.stop()
# Find server by IP
# You can also find server by IP
testserv = None
for serv in atservers:
if serv.address == 'test.aternos.org':