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.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.βοΈ Use cases
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β:
Β
Β