boycott_bot is telegram bot built using node-telegram-bot-api
The bot replies with #boycott-x- to every message containing x, where x is a word mentioned in the boycott_words in app.js
git clone https://github.com/jijinkh/boycott_bot
cd boycott_bot
npm install
Get your bot token from Bot father Add it to the following line in app.js
// Add bot token here
const token = ''
npm start
To add words that need to be boycotted add it into the following lines in app.js
// Add the words you want to boycott here
const boycott_words = ['insta', 'zuck', 'facebook', 'whatsapp', 'zuckerberg', 'fb', 'instagram']
You can add words to boycott by sending a message /boycott followed by the words to be added into the boycott list
/boycott word1 word2 word3
/boycott college fifa anshual
All the words added this way will only be boycott listed this runtime. Once the program is restarted it should be done again.