Get Started - Learn How To Make Your Bot!
List of all currently Free Items
Added on version 23.1.0b1
react(self, reaction: Reaction, target_user_id: str) -> None:
Makes the bot send a reaction to a user in the room.
Here are all possible reactions:
* 'clap'
* 'heart'
* 'thumbs'
* 'wave'
* 'wink'
This method takes a string with the reaction name and a target user ID.
async def on_chat(self, user: User, message: str) -> None:
if message.startswith("react"):
await self.highrise.react("wave", user.id)
In this case the bot will send the user who says βreactβ a wave reaction.