Environment Variables

Configure your PGWIZ-MD bot settings

SESSION_ID REQUIRED

Your WhatsApp session ID from the pairing process. This connects your bot to WhatsApp.

SESSION_ID="pgwiz_PGWIZ-MD_xxxxxxxxxxxxxxxx"

PORT

The port your bot server runs on. Default is 5000.

PORT=5000

DB_URL

Database connection URL. Supports SQLite, MongoDB, PostgreSQL, or MySQL.

# SQLite (default) DB_URL="./baileys_store.db" # MongoDB DB_URL="mongodb://localhost:27017/whatsapp"

REMOVEBG_KEY

API key from remove.bg for background removal. Optional.

REMOVEBG_KEY="your_api_key_here"

STATUS_EMOJIS

Comma-separated emojis to react to status updates.

STATUS_EMOJIS="💚,❤️,🔥,😍,👏"

Quick Editor

SESSION_ID=""
PORT=5000
DB_URL="./baileys_store.db"
REMOVEBG_KEY=""
STATUS_EMOJIS="💚,❤️,🔥,😍,👏"