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.0b0
on_tip(self, sender: User, receiver: User, tip: CurrencyItem | Item) -> None
Called when a tip is received in the room.βοΈ Use cases
This method return the User class of the sender, the User class of the receiver and the CurrencyItem class when a tip is sent in the room.
async def on_tip(self, sender: User, receiver: User, tip: CurrencyItem | Item) -> None: print (f"{sender.username} tipped {receiver.username} an amount of {tip.amount}")
In this example the bot will print on the terminal the Senderβs username, the Receiverβs username and the amount of the tip given.

