Enable online mode
This commit is contained in:
parent
afbfa02566
commit
3aff64a933
4
bot.py
4
bot.py
@ -22,8 +22,8 @@ def draw(cords, color = "black"):
|
||||
if True:
|
||||
payload = {'x': cords[i][1] + yc, 'y': cords[i][0] + xc, 'color': color }
|
||||
|
||||
#response = requests.post('http://pb.dmcraft.online', data=payload)
|
||||
response = requests.post('http://127.0.0.1:3333', data=payload)
|
||||
response = requests.post('http://pb.dmcraft.online', data=payload)
|
||||
#response = requests.post('http://127.0.0.1:3333', data=payload)
|
||||
|
||||
while str(response) != "<Response [200]>":
|
||||
response = requests.post('http://pb.dmcraft.online', data=payload)
|
||||
|
Loading…
Reference in New Issue
Block a user