New feature! ejabberd's user_sessions_info endpoint!

This commit is contained in:
spla 2022-08-10 20:31:07 +02:00
pare 5b2d5f7bf2
commit 7913150642
S'han modificat 1 arxius amb 2 adicions i 1 eliminacions

Veure arxiu

@ -1,13 +1,14 @@
# xmpp Akkoma bot
Bot to manage a xmpp ejabberd node from an Akkoma instance, by posting keywords to it.
The bot only listen keywords from your Akkoma instance local users. They can register themselves to your ejabberd xmpp server, unregister, your xmpp node stats and its status.
The bot only listen keywords from your Akkoma instance local users. They can register themselves to your ejabberd xmpp server, unregister, your xmpp node stats and more!.
The keywords that they can issue against the bot are the following:
@your_bot register
@your_bot unregister
@your_bot stats
@your_bot status
@your_bot sessions
The bot will process any of the above keywords thanks to the wrapper for ejabberd API (`ejabberdapi.py`, included) and the wrapper for Akkoma API (`akkoma.py`, also included) but, first time you run `python xmpp.py`, it will ask you for the needed parameters like: