Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

qopiku/CrushBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUSHBOT

Anonymous Chat Bot for WhatsApp

Getting Started

Requirements

  1. NodeJS v14.15.x (and npm)
  2. RethinkDB

Install

  1. Clone this repository
    $ git clone https://github.com/sProDev/CrushBot.git
    $ cd CrushBot
  2. Install the dependencies
    $ npm install --save
  3. Customize your .env file

Usage

Run the Whatsapp Bot

  • Regular node
    $ npm run start
  • PM2
    $ pm2 start start.js
    $ pm2 monit
  • PM2 with cronjob (restart after 5 hours)
    $ pm2 start start.js --cron "* */5 * * *"
    $ pm2 monit

After running it you need to scan the QR Code

Troubleshooting

Make sure all the necessary dependencies are installed: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

Fix Stuck on linux, install google chrome stable:

$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$ sudo apt install ./google-chrome-stable_current_amd64.deb

Additional Information

Legal

WhatsApp are not allowing user using External Automation
USE AT YOUR OWN RISK

License

sProDev License