Get Started - Learn How To Make Your Bot!Code SnippetsGet methodsPost methodsWeb APIUseful linksList of all currently Free ItemsList of all currently Free EmotesHighrise Bot SDK Changelog
Added on version 23.1.0b0
get_room_users(self) -> GetRoomUsersRequest.GetRoomUsersResponse | Error:
This method returns all the Users in the room along with their Position and Facing Positions.
βοΈ Use cases
This method is very useful to get informations about who is your room and where they are.
async def on_chat(self, user: User, message: str) -> None: if message.startswith("users"): room_users = (await self.highrise.get_room_users()).content await self.highrise.chat(f"There are {len(room_users)} users in the room")
In this example the bot will send a message chat telling how many users are in the room when someone says βusersβ: