This commit is contained in:
spla 2022-08-18 10:28:20 +02:00
pare 8820dc6bfd
commit 20fbdba2fe

Veure arxiu

@ -10,7 +10,9 @@ The keywords that they can issue against the bot are the following:
@your_bot status @your_bot status
@your_bot sessions @your_bot sessions
The bot will process any of the above keywords thanks to the wrapper for ejabberd API (`ejabberdapi.py`, coded by me (WIP)) and the excellent wrapper for Mastodon API coded by [halcy](https://github.com/halcy/Mastodon.py) 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`, coded by me (WIP)) and the excellent wrapper for Mastodon API coded by [halcy](https://github.com/halcy/Mastodon.py).
The 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 (ejabberd server's API listen port) - api_base_url: http://127.0.0.1:5280 (ejabberd server's API listen port)
- local_vhost: your local ejabberd vhost - local_vhost: your local ejabberd vhost