ZOYKUHot Board

Guru322/GURU-AiTài liệu kỹ thuật

Guru322/GURU-Ai open-source repository on GitHub

Thông báo ngôn ngữ:Chưa có tài liệu tiếng Việt cho kho lưu trữ này. Đang hiển thị bản gốc tiếng Anh chính thức.
Cài đặt nhanh
git clone https://github.com/Guru322/GURU-Ai.git

Guru

GURU Ai


Installation

git clone https://github.com/Guru322/GURU-Ai.git
cd GURU-Ai
npm install

Configuration

Create a .env file in project root or set the following environment variables:


MONGODB_URI=<Your MongoDB connection URI>
PHONE_NUMBER=<Your WhatsApp phone number with country code>
BOTNAME=<Bot display name (optional)>
OWNERS="<owner1;john;owner2;doe>"

You can also edit config.js for additional settings like bot name, pack name, author, owners list, and sticker watermark.

Running the Bot

npm start
# or
node index.js

By default, the server listens on port 5000 (or the port defined in the PORT environment variable). Open your browser at http://localhost:5000 to access the pairing interface where the pairing code and connection status are displayed.

Usage

After starting, the bot will print a pairing code. Open WhatsApp > Linked Devices > Link a Device > Link with phone number and enter the pairing code to connect.

Commands are invoked with a prefix (default is .). For example:


.ping      # Check bot response time
.menu      # Display command menu and help
.list      # List all available commands
.alive     # Show bot status

Type .help or .list in chat to view all commands and descriptions.


Star History

Star History Chart
Bản sao tài liệu lưu trữ từ kho lưu trữ GitHub chính thức · Xem trên GitHub
Ngày đồng bộ: 2026-11-09