Browse Source

Update 'README.md'

master
mb 4 years ago
parent
commit
8e1eb06e20
  1. 8
      README.md

8
README.md

@ -9,13 +9,7 @@
# How to play around with a local bot # How to play around with a local bot
Take a look at the existing bots: These bots are written using [slixmpp](https://slixmpp.readthedocs.io/) or [xbotlib](https://git.vvvvvvaria.org/decentral1se/xbotlib).
- [streambot](./streambot)
- [logbot](./logbot)
- [RECbot](./RECbot) (*work-in-progess*)
They're implemented using [slixmpp](https://slixmpp.readthedocs.io/).
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!). 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!).

Loading…
Cancel
Save