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_user_leave(self, user: User) -> None Called when a user leaves the room.

⚙️ Use cases

This method return the User class of the user that left the room where the bot is deployed.

async def on_user_leave(self, user: User) -> None:
        print(f"{user.username} left the room")

In this example the bot will print on the terminal the username of the user that left the room:

Untitled

Untitled