$ pip install xbotlib
from xbotlib import Bot class EchoBot(Bot): def react(self, msg): self.reply(f"echo: {msg}") MyBot()
And then python echo.py.
python echo.py
TODO.