IpnDef / whatsapp-bot

Whatsapp Bot Multi Device - Node Js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🥟 Help me!

Ko-Fi

Trakteer

Don't forget to click ⭐️ and fork this repository

Need help? please create issues or chat me on whatsapp

Getting Started

This project require

Install

Clone this project

git clone https://github.com/ArugaZ/whatsapp-bot.git
cd whatsapp-bot

Install the dependencies:

yarn install --frozen-lockfile

Setup

Setup prisma

Create .env file based on .env.example, copy the mongo database URL into .env file

yarn prisma db push

Build a project

Why build into javascript?

yarn build

If you want generate more languages

It will generate languages based on list database/languages.json. You can remove the languages you don't want to use (it will store the object into memory), except (English (en) and Indonesian (id)) because its already generate by default.

yarn generateLang

Usage

Run the Whatsapp bot

yarn start

With pm2

If you haven't installed pm2, I suggest using npm to install it.

yarn start:pm2

after running it you need to scan the qr

Join the community to build Whatsapp-Bot together!

License

Apache-2.0

About

Whatsapp Bot Multi Device - Node Js.

License:Apache License 2.0


Languages

Language:TypeScript 99.6%Language:JavaScript 0.3%Language:Shell 0.1%