Telegram bot that anonymizes messages in chats. Give bot an admin permission to delete messages in your chat.
You can either use an existing Anonym bot available at https://t.me/anonym10_bot. In order to do that:
- Give Anonym bot an admin permission to delete messages in your chat. If you want users to be kicked from the chat (useful in case of anonymizing comments to channel post) -- give the bot an admin permission to ban users -- it'll kick users and unban them at the moment, so they'll be able to write new messages later.
To build your own version of Anonym:
- Download the source code
git clone --recurse-submodules https://github.com/luckybots/anonym.git
If you don't add --recurse-submodules -- you'll get an error during make build (make: *** No rule to make target 'build')
-
Create and customize
data/config.json
according todata/config_example.json
. In theconfig.json
providebot_token
value. -
To run with Docker use
make build
make run-it