Running python bot

Hi everyone… I know it is a basic question but how do I pass bot commands to the python bot? I am able to run the engine, run bots and the visualizer but the moment I try to pass commands to the bot(s) I am unable to get the bots to move. Most likely because of a lack of knowledge on my side. If anyone could help me in figuring out how to send commands to the python bot I would really appreciate it Attached is the image of the bots(They do not move)

I use this line for sending commands to the bot:

connection.send("SendPlayerCommand",  [{"botId": str(token), "action": 1}])

The action here is up.

1 Like