Skip to content
프로젝트

소개

멀티 디바이스를 지원하는 WhatsApp 봇 - Node.js - 국제화

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
-1
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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


This whatsapp bot project (now) use Baileys Multi-Device.


whatsapp-bot out-of-the-box support on...

Need help? please create an issues


Getting Started

This project require

Install

Clone this project

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

Install the dependencies:

npm install

Setup

Setup prisma

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

npx prisma db push

Build a project

Why build into javascript?

npm run 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.

# try this:
npm run generateLang
# if get incompatible error, try run:
npm run generateLangV2

Usage

Run the Whatsapp bot

npm start

With pm2

If you haven't installed pm2.

npm install -g pm2

Run with pm2

npm run start:pm2

Other tips with pm2:

This will start your application when the server is restarted or rebooted.

# if you are on a unix
pm2 startup #create a startup script
pm2 save #save the current app

# if you are on windows
npm install pm2-windows-startup -g #install helper dependency
pm2-startup install #create a startup script
pm2 save #save the current app

after running it you need to scan the qr

Contributing

If you've ever wanted to contribute to open source, now is your chance!

Please refer to our Contribution Guidelines and Code of Conduct.

License

since whatsapp-bot use baileys is now available under the GPL-3.0 license. See the LICENSE file for more info.


Join the community to build Whatsapp-Bot together!

Tobi Saputra
Tobi Saputra

💻
ArugaZ
ArugaZ

💻 🤔
Muhammad Kevin
Muhammad Kevin

💻
LSystemus-2
LSystemus-2

🐛
一茶
一茶

🤔

관련 프로젝트 살펴보기

불러오는 중…