Update 'README.md'

This commit is contained in:
mb 2021-01-22 00:23:51 +01:00
parent 99b5558092
commit 8e1eb06e20

View File

@ -9,13 +9,7 @@
# How to play around with a local bot
Take a look at the existing bots:
- [streambot](./streambot)
- [logbot](./logbot)
- [RECbot](./RECbot) (*work-in-progess*)
They're implemented using [slixmpp](https://slixmpp.readthedocs.io/).
These bots are written using [slixmpp](https://slixmpp.readthedocs.io/) or [xbotlib](https://git.vvvvvvaria.org/decentral1se/xbotlib).
The idea is that you create a single python file (`mybot.py` for example) and using the `slixmpp` library, you write a single Python class which knows how to speak XMPP, join rooms, respond to commands etc (see [ClientXMPP](https://slixmpp.readthedocs.io/api/clientxmpp.html#slixmpp.clientxmpp.ClientXMPP) for more). Following the logbot/streambot example, you can create a command line interface using `argparse` and then start to run it on your own computer first for testing and fun (and not spamming everyone else until your bot is ready!).