@shieldy_bot Telegram bot code
This is the code for the anti-spam Telegram bot I've built. Enjoy and feel free to reuse!
- Clone this repo:
git clone https://github.com/backmeupplz/shieldy - Launch the mongo database locally
- Create
.envwith the environment variables listed below - Run
yarn installin 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/backmeupplz/shieldy - Replace the dummy environment variables in
docker-compose.ymlwith the ones listed below - Run
docker-compose up -d
TOKEN— Telegram bot tokenMONGO— URL of the mongo database
Also, please, consider looking at .env.sample.
Any commit pushed to master gets deployed to @shieldy_bot via CI Ninja.
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!