Get Started - Learn How To Make Your Bot!GuidesCode SnippetsGet methodsPost methodsWeb APIUseful linksList of all currently Free ItemsList of EmotesHighrise Bot SDK Changelog
Added on version 23.1.0b2
on_reaction(self, user: User, reaction: Reaction, receiver: User) -> None
Called when a reaction is received.βοΈ Use cases
This method returns the Reaction class, the User class from the sender and the User class from the Receiver on the room.
async def on_reaction(self, user: User, reaction: Reaction, receiver: User) -> None: print(f"{user.username} sent the reaction {reaction} to {receiver.username}")
In this case the bot will print in the terminal the senderβs username, the reaction_id and the receiverβs username:
Β