Weather bot for Telegram, made using TelegrafJS
- Powerful
- Correct Result
- Open Sourced
- Free
You need few things to deploy this bot:
- Deploy your Weather API Server
https://github.com/cachecleanerjeet/weather-api - System with nodejs installed (version 10 +)
Deploy 👇
- Clone this Repository
git clone https://github.com/cachecleanerjeet/weather-bot.git
- Open config.js & enter your Bot API TOKEN in BOT_TOKEN section & replace the Weather API Url in API_URL Section & save it
- Now install the Dependencies
npm install
- Now install forever js so that main.js will run after you close the shell
npm install forever -g
- Now start the process
forever start main.js
- Your bot will work now
- To stop the process go to that directory &
forever stop main.js