Get Started - Learn How To Make Your Bot!

Guides

Code Snippets

Get methods

Post methods

Web API

Useful links

List of all currently Free Items

List of Emotes

Highrise 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.

Untitled

Untitled