🀫 Send_whisper

🀫 Send_whisper

Added on version 23.1.0b0
send_whisper(self, user_id: str, message: str) -> None: Used to make the bot to send a whisper for a user.

βš™οΈ Use cases

This method receives a UserID and a string message
async def on_user_join(self, user: User, position: Position | AnchorPosition) -> None: await self.highrise.send_whisper(user.id, "Welcome to the room!")
In this example the bot will send a welcome message on whisper to all the players that join the room:
notion image

Built with Potion.so