This commit is contained in:
spla 2022-08-09 08:14:36 +02:00
pare d294d51a81
commit 883935d643

Veure arxiu

@ -1,8 +1,8 @@
# xmpp Akkoma bot # xmpp Akkoma bot
bot to manage an xmpp ejabberd node by posting keywords to it from your Akkoma account. 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 or also get your xmpp node stats.
The keywords that your Akkoma instance local users 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
@ -16,6 +16,11 @@ The bot will process any of the above keywords thanks to the wrapper for ejabber
- admin_pass: ejabberd admin account password - admin_pass: ejabberd admin account password
- Akkoma hostname: in ex. akkoma.host - Akkoma hostname: in ex. akkoma.host
# Requirements
- Akkoma instance
- xmpp ejabberd node with admin privileges
Before running `python xmpp.py`: Before running `python xmpp.py`:
1. git clone https://git.mastodont.cat/spla/xmpp.git target_dir. 1. git clone https://git.mastodont.cat/spla/xmpp.git target_dir.