2022-01-02 04:23:43 +01:00
2022-01-02 04:23:43 +01:00
2022-01-02 04:23:43 +01:00
2021-11-29 13:37:11 +01:00

Telegram logger & blocker

This project contains the source code of the logging/blocking functionality of my (@vimicito's) userbot. Like ubot it only depends on Python and Telethon.

In terms of functionality, the bot logs private messages and blocks unwanted PM/DM. When unblocked by the userbot's owner, a correspondent can send another message and the bot will not trigger a blocking action any longer. This way an approval system can be effectively enforced.

Credentials

Visit my.telegram.org to get your API ID and API hash values. Then run ./install from within the cloned repository, where you can add these values.

License

This project is not intended to be published at the time of writing. All rights reserved.

Disclaimer

Running a logging service on Telegram could technically violate their ToS, as all clients are required to delete messages on their endpoint when so requested by either correspondent. This logger obviously ignores such requests. Telegram has no way to tell what the client does with the messages upon receiving them, but please don't be too vocal with it either. This project assumes no responsibility for consequences put forth by Telegram as a result of running it.

Description
Telegram bot that logs and blocks unwanted private messages.
Readme 65 KiB
Languages
Python 56.6%
Shell 43.4%