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_start(self, session_metadata: SessionMetadata) -> None Called when a connection to the room is established. You can use this method to perform any necessary setup.

⚙️ Use cases

This code is mandatory to start and maintain the bot session, but you can use it as you wish to trigger functions when the bot starts.

async def on_start(self, SessionMetadata: SessionMetadata) -> None:
        await self.highrise.chat("Hello, world!")

This will make the bot say “Hello, world!” in the chat on start:

1681348257313.png