@watchy_bot Telegram bot code
This is the code for the Telegram bot that removes everything but YouTube links from the chats. Enjoy and feel free to reuse!
Installation and local launch
- Clone this repo:
git clone https://github.com/backmeupplz/watchy
- 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!
Environment variables
TOKEN
— Telegram bot tokenMONGO
— URL of the mongo database
Also, please, consider looking at .env.sample
.
Continuous integration
Any commit pushed to master gets deployed to @watchy_bot via CI Ninja.
License
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!