This commit is contained in:
spla 2022-08-08 23:03:54 +02:00
pare 5854636084
commit d294d51a81

Veure arxiu

@ -1,14 +1,14 @@
# xmpp Akkoma bot
bot to manage an xmpp ejabberd node by posting keywords to it from your Akkoma account.
The bot only listen keywords from your Akkoma instance local users. They can register themselves to your xmpp server, unregister and also get your xmpp node stats.
The keywords that Akkoma instance local users can use are:
The bot only listen keywords from your Akkoma instance local users. They can register themselves to your ejabberd xmpp server, unregister or also get your xmpp node stats.
The keywords that your Akkoma instance local users can issue against the bot are the following:
@your_bot register
@your_bot unregister
@your_bot stats
The bot will process the keyword thanks to the wrapper for ejabberd (included) and the wrapper for Akkoma (also included) but first time you run `python xmpp.py` it will ask for the needed parameters like:
The bot will process any of the above keywords thanks to the wrapper for ejabberd API (included) and the wrapper for Akkoma API (also included) but, first time you run `python xmpp.py`, it will ask you for the needed parameters like:
- api_base_url: http://127.0.0.1:5280
- local_vhost: your local ejabberd vhost