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_chat(self, user: User, message: str) -> None Called when a room-wide chat message is received.

⚙️ Use cases

This method can be used to get all the messages and the User class of who sended it in the room-wide chat:

async def on_chat(self, user: User, message: str) -> None:
        print(f"{user.username}: {message}")

In this example we will print on the terminal all messages sent in the room-wide chat by players:

1681351334776.png

Untitled