No description
Kumi
4e1e15e3cc
This update bumps the project version to 0.0.3 and modifies the bot's behavior to handle room invites asynchronously, improving the efficiency of joining rooms on startup. By adopting `await` for `accept_pending_invites`, the bot can now manage invites more responsively, potentially enhancing user experience during high-volume invite periods. This change reflects our commitment to continuous improvement, addressing scalability and responsiveness as the bot becomes integrated into larger ecosystems or faces more demanding operational contexts. No issues explicitly referenced, but this enhancement is part of ongoing efforts to refine the bot's functionality and reliability. |
||
---|---|---|
src/matrix_reportbot | ||
.gitignore | ||
config.dist.ini | ||
get_access_token.py | ||
LICENSE | ||
pyproject.toml | ||
README.md | ||
reportbot.service |
Matrix-ReportBot
This is a simple bot that can be used to display incoming moderation reports in a Matrix room.
Installation
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
License
This project is licensed under the MIT License - see the LICENSE file for details.