Get Started - Learn How To Make Your Bot!
List of all currently Free Items
Added on version 23.1.0b8
on_user_move(self, user: User, pos: Position) -> None:
Called whenever an user moves in the room
This method returns an User and a Position class everytime an User move in the room.
async def on_user_move(self, user: User, pos: Position) -> None:
print (f"{user.username} moved to {pos}")
This code will simply print in your terminal the username and new position of every user that moves in the room.