Skip to content

Krishna-Singhal/Whatsapp-NewsInshorts

Repository files navigation

Whatsapp-NewsInshorts


Please see Sumanjay's NewsInshorts Api before seeing this repo.

This Bot can be stopped anytime because this bot is using third party Api which can be stop working anytime.


This is a Automated Whatsapp Bot which sends News of your category to specific chat.

Deploy on Heroku

Deploy

Setup

This bot needs only 4 Environmental Variables:-

  1. SESSION

    Get it from here. (credits)

  2. CHAT_ID

    Run following code in terminal.

    git clone https://github.com/Krishna-Singhal/Whatsapp-NewsInshorts.git
    
    cd Whatsapp-NewsInshorts
    
    npm install

    Now get your session.json file and paste that file in root directory. Now run

    npm run getChatId

    Now send !getid in chat where you want to send automated News.

  3. CATEGORY

    Categories can be found here. (credits)

  4. DELAY

    Delay in how much, bot will parse news from Api. This is not the delay of messages which bot will send. Defaults to 150 seconds.


It needed a cron-job to keep the server alive

Cron Job steps would be found here.


Credits :

⭐ this repo and show some ❤️ if you found this bot useful.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published