Follow these steps to get started.
| Heroku (Automatic) | Panel / VPS (Manual) |
|---|---|
Use this guide if you are deploying on Pterodactyl, Plesk, Render, or a VPS.
- Download this repository or clone it into your panel.
- Ensure Node.js 18+ is installed on your server.
- Go to your file manager.
- Create a new file named
.env. - Copy the text below, paste it into the file, and fill in your details:
# ==========================================
# KING-MD CONFIGURATION
# ==========================================
# 1. SESSION ID (Required)
# Paste your long session code here (after pairing).
SESSION="YOUR_SESSION_ID_HERE"
# 2. BOT OWNER
# Put your phone number (No '+' or spaces).
# Example: 254712345678
DEV="254712345678"
# 3. COUNTRY CODE
# Your country code (e.g., 254 for Kenya).
CODE="254"
# 4. BOT NAME
# Give your bot a custom name.
APP_NAME="KING-M"
# 5. HEROKU API (Optional)
# Leave blank if you are not using Heroku features.
HEROKU_API=""