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_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: