New command: status!

This commit is contained in:
spla 2022-08-09 14:39:15 +02:00
pare 36860a55ec
commit 79e7f6fc4a

Veure arxiu

@ -1,12 +1,13 @@
# xmpp Akkoma bot # xmpp Akkoma bot
Bot to manage a xmpp ejabberd node from an Akkoma instance, by posting keywords to it. 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 or also get your xmpp node stats. 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 keywords that they can issue against the bot are the following: The keywords that they can issue against the bot are the following:
@your_bot register @your_bot register
@your_bot unregister @your_bot unregister
@your_bot stats @your_bot stats
@your_bot status
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: 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:
@ -34,6 +35,7 @@ Before running `python xmpp.py`:
Enjoy! Enjoy!
* 9.8.2022 New feature! Added lang support! bot replies's lang is configured during setup. Only `ca` or `en` are actually supported. * 9.8.2022 New feature! Added lang support! bot replies's lang is configured during setup. Only `ca` or `en` are actually supported.
* 9.8.2022 New feature! Added `status` command!