https://git.private.coffee/PrivateCoffee/matrix-reportbot
subDesTagesMitExtraKaese ca2ec87f9e Show error when room state update failed | il y a 3 semaines | |
---|---|---|
src | il y a 3 semaines | |
.gitignore | il y a 6 mois | |
LICENSE | il y a 8 mois | |
README.md | il y a 6 mois | |
config.dist.ini | il y a 6 mois | |
get_access_token.py | il y a 6 mois | |
pyproject.toml | il y a 6 mois | |
reportbot.service | il y a 6 mois |
This is a simple bot that can be used to display incoming moderation reports in a Matrix room.
pip install matrix-reportbot
Create a configuration file in config.ini
based on the config.dist.ini provided in the repository.
At the very least, you need to provide the following configuration:
[Matrix]
Homeserver = http://your-homeserver.example.com
AccessToken = syt_YourAccessTokenHere
RoomId = !yourRoomId:your-homeserver.example.com
Note: The AccessToken must be for a admin user, because the bot needs to be able to read the moderation events.
We recommend using pantalaimon as a proxy, because the bot itself does not support end-to-end encryption.
You can start the bot by running:
reportbot
This project is licensed under the MIT License - see the LICENSE file for details.