# Send message
await self.highrise.chat(“Hello!”)
# Whisper to a user
await self.highrise.send_whisper(user.id, “Hi!”)
# Teleport bot
await self.highrise.teleport(Position(x=5, y=0, z=5))
# React to commands
if message == “!dance”:
\# perform action
passfrom highrise import BaseBot, Position
class MyBot(BaseBot):
async def on_start(self, session_metadata):
print("Bot is online!")
async def on_user_join(self, user, position):
await self.highrise.chat(f"Welcome {user.username}!")
async def on_chat(self, user, message):
if message.lower() == "!hello":
await self.highrise.chat(f"Hello, {user.username}!")