This is the code for the Telegram antispam bot to be used in select groups.
- Clone this repo:
git clone https://github.com/PChadx/HEXTerminator
- Launch the mongo database locally
- Create
.env
with the environment variables listed below - Run
yarn install
in the root folder - Run
yarn distribute
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
- Clone this repo:
git clone https://github.com/PChadx/HEXTerminator
- Replace the dummy environment variables in
docker-compose.yml
with the ones listed below - Run
docker-compose up -d
TOKEN
— Telegram bot tokenMONGO
— URL of the mongo databaseREPORT_CHAT_ID
— id of the Telegram chat where to send errors
Also, please, consider looking at .env.sample
.
Based on the amazing Shieldy bot https://github.com/backmeupplz/shieldy.
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!