xbotlib/README.md

28 lines
265 B
Markdown
Raw Normal View History

2021-01-10 13:10:39 +00:00
# xbotlib
## XMPP bots for humans
## Install
```sh
$ pip install xbotlib
```
## Example
```python
from xbotlib import Bot
class EchoBot(Bot):
def react(self, msg):
self.reply(f"echo: {msg}")
MyBot()
```
And then `python echo.py`.
## API
TODO.