πŸ•ΊπŸΌ Send_emote

πŸ•ΊπŸΌ Send_emote

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.
πŸ•ΊπŸΌ
List of all currently Free Emotes

βš™οΈ 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”:
notion image
Β 

Β 
Built with Potion.so