Get Started - Learn How To Make Your Bot!
List of all currently Free Items
Added on version 23.1.0b1
send_emote(self, emote_id: str, target_user_id: str | None = None) -> None:
This method is used to make the bot or a user in the room to perform an emote.
This method can be used to get all the messages whispered to the bot
async def on_chat(self, user: User, message: str) -> None:
if message.startswith("sword fight"):
roomUsers = (await self.highrise.get_room_users()).content
for roomUser, _ in roomUsers:
await self.highrise.send_emote("emote-swordfight", roomUser.id)
In this example we will get all users in the room and make them to perform the emote swordfight when someone in the room says “sword fight”: