No description
Find a file
Kumi 80911c218e
feat: auto-accept pending room invites
Introduced functionality to automatically accept pending room invites, enhancing the bot's integration capabilities. This feature filters and accepts invitations unless the room is in the bot's ignore list. It aims to streamline the bot's entry into designated discussion spaces without manual intervention, ensuring it remains an active participant in relevant rooms. In cases where joining a room fails, the bot attempts to leave the room to avoid repeated joining attempts and adds the room to an ignore list to prevent future automated entry attempts, improving error handling and maintainability.

This change underscores our commitment to enhancing automated processes and simplifying management tasks related to room participation for the bot, thereby allowing it to function more autonomously and efficiently.
2024-05-18 15:33:02 +02:00
src/matrix_reportbot feat: auto-accept pending room invites 2024-05-18 15:33:02 +02:00
.gitignore feat: transform Matrix-RSSBot into Matrix-ReportBot 2024-05-05 19:21:18 +02:00
config.dist.ini feat: transform Matrix-RSSBot into Matrix-ReportBot 2024-05-05 19:21:18 +02:00
get_access_token.py refactor: simplify authentication process 2024-05-05 19:48:56 +02:00
LICENSE Created RSSBot 2024-03-02 15:31:14 +01:00
pyproject.toml refactor: simplify authentication process 2024-05-05 19:48:56 +02:00
README.md feat: transform Matrix-RSSBot into Matrix-ReportBot 2024-05-05 19:21:18 +02:00
reportbot.service fix: update reportbot startup command 2024-05-05 19:46:15 +02:00

Matrix-ReportBot

Support Private.coffee! PyPI PyPI - Python Version PyPI - License Latest Git Commit

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.