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.0b2

get_wallet(self) -> GetWalletRequest.GetWalletResponse | Error:

Return the bot’s wallet.

⚙️ Use cases

This method will return an object similar of the Get_room_users return object, with a type and amount atributtes.

async def on_chat(self, user: User, message: str) -> None:
        if message.startswith("wallet"):
            wallet = (await self.highrise.get_wallet()).content
            await self.highrise.chat(f"The bot wallet contains {wallet[0].amount} {wallet[0].type}")

In this example the bot send on chat a message with the amount and type of currency they have on the position [0] of the object list.

Untitled