@banofbot: vote bans for Telegram groups
@banofbot lets a Telegram group vote someone out. Reply to the offender's message with @banofbot, members vote, and once enough votes are in (five by default) the bot bans the user and deletes the message, so a group can deal with spammers and trolls without waiting for an admin. Add it to the group as an admin that can ban users and delete messages. This repository also holds the code of @silent_banofbot. Open source (MIT).
Website: banofbot.borodutch.com (vote bans for Telegram groups: how it works, settings, FAQ).
The code for the bots follows. Contributions are welcome.
- Clone this repo:
git clone https://github.com/backmeupplz/banofbot - Launch the mongo database locally
- Create
.envfile withTELEGRAM_API_KEYandMONGO_DB_URL - Run
npm iin the root folder - Run
npm run start
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
Any commit pushed to master gets deployed to both @banofbot and @silent_banofbot via CI Ninja.
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!