AHMEDX
Guide

Knight MD WhatsApp Bot — Features, Pairing Code, Session ID and Deployment Guide

Knight MD, also known as Knightbot-MD, is an open source WhatsApp Multi-Device bot built with the Baileys library for group management and interactive features. This guide covers its verified features and commands, how to get a pairing code, how the creds.json session file works, the deployment options from its README, and the safety points to know first.

By AHMED X · November 6, 2026 · Last verified November 6, 2026

About

What Is Knight MD WhatsApp Bot?

What the project is, who publishes it, and what it is built for.

Knight MD, also known as Knightbot-MD or Knight Bot, is an open-source WhatsApp Multi-Device bot designed mainly for group management and interactive features. It is built using the Baileys library and runs in a Node.js environment.

The project is published on GitHub as Knightbot-MD by the developer mruniquehacker, who is credited in the project as Professor. Its main purpose is to help WhatsApp group administrators manage their groups through automated commands and interactive tools, and it supports both QR code authentication and a pairing-code connection method.

If you are searching for the Knight MD WhatsApp bot, how to connect it using a QR code or pairing code, how to obtain its session credentials, or how to deploy it on a hosting server, this beginner-friendly guide explains the process step by step.

Knight MD includes features such as tagging all group members, anti-link protection, warning group members, text-to-speech, sticker creation, and interactive games. Availability can depend on the installed code, your configuration, and WhatsApp permissions.

Features

Knight MD WhatsApp Bot Features

The features below are the ones listed in the official Knightbot-MD README features section and introduction. Availability can depend on the installed code, configuration and WhatsApp permissions.

Tag All Members

The .tagall command tags every member of a group at once, which is handy for announcements.

Admin-Restricted Commands

Certain commands are restricted so that only group administrators can use them.

Interactive Games

Games such as Tic-Tac-Toe keep group chats active and give members something to play inside the group.

Text-to-Speech

The .tts command converts written text into spoken audio.

Sticker Creation

The .sticker command creates stickers. The exact input types it accepts can depend on the version you run.

Anti-Link Protection

Anti-link detection for group safety. Its exact behaviour depends on configuration and permissions.

Warn and Manage Members

Warning and member management functionality for group admins, as listed in the README.

Muting and Unmuting

The README introduction lists muting and unmuting among the group management abilities of the bot.

Easy to Customize

Knightbot-MD is a lightweight Node.js project, and the README notes it can be easily customized to add more commands as per your requirements.

Commands

Knight MD WhatsApp Bot Commands

The commands the README names directly, plus extra commands confirmed in the repository commands folder.

The README explicitly documents three commands: .tagall to tag all group members, .tts for text-to-speech, and .sticker for sticker creation.

The repository commands folder also confirms additional commands, including .github, .lyrics and .weather, alongside many more command files. The commands folder of the Knightbot-MD repository on GitHub is the most reliable place to check what a given version supports.

Other functionality, such as anti-link, warnings and group administration, is described in the README, but the exact command names or syntax for those tools are not specified there. Do not assume that commands copied from other MD bots will work in Knight MD.

Pairing

How to Get the Knight MD Pairing Code

The README links an official pairing website for Knightbot-MD. It generates the pairing code and the credentials used by the deployment workflow explained below.

01

Open the Pairing Website

Visit the Knight MD pairing website at knight-bot-paircode.onrender.com. The Step 2 button in the README links directly to this page.

02

Select the Pair Code Option

Choose the pair code option on the page so that the phone number input field appears.

03

Enter Your WhatsApp Number

Type the WhatsApp number you want to connect, with its international country code, for example +92 for Pakistan, +91 for India, +234 for Nigeria, +254 for Kenya or +94 for Sri Lanka.

04

Generate and Copy the Code

Click the generate option and copy the pairing code the website shows you. Keep the creds.json credentials file from this workflow safe, because the deployment steps below ask for it.

05

Link the Device in WhatsApp

On your phone, open WhatsApp and go to Linked Devices, then Link a Device, and choose the option to link with a phone number instead. On Android this is reached through the three-dot menu; on iPhone through Settings. Enter the pairing code.

06

Confirm the Connection

Check Linked Devices in WhatsApp to confirm the new connection appears, then continue with the deployment steps.

QR Code

How to Connect Knight MD Using a QR Code

The README setup section uses QR code authentication when the bot runs locally. The QR code appears in the terminal after you start the bot.

01

Prepare Your Computer

Install Node.js and Git on a computer or hosting environment, following the prerequisites listed in the README.

02

Clone and Install

Clone the repository and install its dependencies, using the commands given in the local run option in the deployment section below.

03

Run the Bot

Start the bot with node index.js. A QR code displays in the terminal.

04

Open Linked Devices

On your phone, open WhatsApp and go to Linked Devices.

05

Scan and Confirm

Tap Link a Device and scan the terminal QR code with your phone, then confirm the connection in WhatsApp.

Session ID

What Is the Knight MD Session ID?

How the pairing code, the QR code and the creds.json session file fit together in Knightbot-MD.

Knightbot-MD does not use a copy-and-paste Session ID string the way some other MD bots do. Instead, its README describes a pairing workflow that produces a file called creds.json, and its deployment instructions tell you to upload that file into the repository session folder.

The three pieces play different roles. The pairing code links your WhatsApp account through the pairing website. The QR code is an alternative linking method used when you run the bot yourself. The creds.json file holds the authentication credentials the bot then uses to stay connected.

Never share creds.json publicly or upload it to untrusted websites. Anyone who obtains that file may be able to access the associated WhatsApp session.

Deployment

How to Deploy Knight MD on a Hosting Panel

The README deploy steps point to the Bot-Hosting.net panel. The general flow is: fork the repository, complete the pairing, upload creds.json, connect the repository, configure the settings and start the bot.

01

Fork the Repository

Fork the Knightbot-MD repository to your own GitHub account, as in Step 1 of the README.

02

Complete the Pairing Workflow

Use the pairing website above to link your number and obtain the creds.json file.

03

Upload creds.json to the Session Folder

Place the creds.json file into the session folder of your forked repository, exactly as the README instructs.

04

Connect the Repository to the Panel

Open the Bot-Hosting.net panel linked from the README and connect your forked repository to a hosting environment there.

05

Configure and Start the Bot

Apply the settings the panel asks for, start the bot, and check the logs to confirm it connects. The README also links a video deployment tutorial, listed in the official links below.

Deployment

Other Knight MD Deployment Options

The other methods the README links or describes. Always check the latest README before deploying.

VPS Hosting (Petrosky)

The README links Petrosky VPS at client.petrosky.io. Get a VPS with sufficient resources, install Node.js and Git, clone the repository, install the dependencies, configure the session credentials, start the process and check the logs.

Katabump Panel

The README also links the Katabump panel at dashboard.katabump.com. Prepare your repository and files, configure the session, and start the app. The README does not detail the exact configuration or resource requirements, so check the panel guidance as well.

Pairing Credentials Workflow

This is the route the README deploy steps are built around: fork the repository, open the pairing website, generate your pairing credentials, download creds.json, and upload it into the session folder before deploying. The pairing page is hosted on Render; it creates your credentials, but it is not the final hosting environment.

Run It Locally

On your own computer, run: git clone https://github.com/mruniquehacker/Knightbot-MD.git, then cd Knightbot-MD, npm install, and node index.js. Scan the terminal QR code in WhatsApp Linked Devices and confirm the connection. Keep the computer running, because closing the terminal stops the bot.

Troubleshooting

Common Knight MD Pairing and Deployment Problems

The problems readers hit most often with this setup, and what to check first.

Pairing Code Not Generating

Refresh the pairing page, check your number and country code, make sure you selected the correct pair code option, and retry if the service is temporarily unavailable.

QR Code Not Appearing

For a local run, check that the dependencies installed, that you started the correct entry file with node index.js, and read any terminal errors. The app may also be waiting on another authentication step.

WhatsApp Does Not Connect

Check your internet connection, work through Linked Devices, generate a fresh pairing code, and follow the current linking instructions shown by WhatsApp.

Bot Not Responding

Check that the Node.js process is still running, review the hosting logs, confirm creds.json is in the expected session folder, check the dependencies, and confirm the bot has the group permissions it needs.

Deployment Failed

Review the latest README, confirm your host supports Node.js, check the dependencies and the session folder configuration, and read the startup logs for the first real error.

Commands Not Working

Check that the command exists in the current repository, verify the spelling, confirm the bot is connected, check any admin permission requirements, and confirm the feature is present in your version. The repository commands folder is the reference.

Official Links

Knight MD Official Links

The resources verified for this guide: the GitHub repository and its README, the pairing website linked from that README, the developer Knight Bot website, and the deployment tutorial the README links. Availability checked on the last verified date.

Safety

Is Knight MD WhatsApp Bot Safe?

The project's own warning, and the precautions that apply to any unofficial bot.

Knightbot-MD is an unofficial third-party WhatsApp bot project, not an official WhatsApp or Meta product. Its README specifically warns that using the bot may lead to your WhatsApp account being banned, and that the developers will not be responsible for any consequences or account bans that may occur while using it.

Use a separate WhatsApp number for testing, and avoid experimenting with bots on an important personal or business number. Protect your creds.json file: never share it publicly and never upload it to untrusted websites.

Avoid spam and bulk messaging. The project legal notes explicitly warn against using the bot to spam people, send bulk messages, or for illegal purposes. Before running the bot, review the public source code, its dependencies, permissions and configuration.

If you stop using the bot, remove its connection from WhatsApp Linked Devices. Using a separate number can reduce the impact on your primary account, but it does not remove the risk of restrictions.

Alternatives

Free MD Bots You Can Deploy on AHMED X

Want more free MD bots like this? These bots on AHMED X cover the same ground: free deploy, pair-code setup, group and chat automation.

ASTRA X

ASTRA X

WhatsApp MD Bot

Advanced AI-first MD bot with dual AI engines, media downloaders and deep group management.

Geston-MD

Geston-MD

WhatsApp MD Bot

Lightning-fast Baileys multi-device bot with AI chat, group protection and replies in many languages.

CELESTIA

CELESTIA

WhatsApp MD Bot

A polished multi-device WhatsApp bot with a large command library, AI chat and safe group tools.

TOXIC-MD

TOXIC-MD

WhatsApp MD Bot

Lightning-fast WhatsApp bot built on Baileys, made for speed and everyday automation.

SUKUNA-MD

SUKUNA-MD

WhatsApp MD Bot

A modular WhatsApp MD bot with group administration, media tools, protection engines and AI voice replies.

Levanter

Levanter

WhatsApp MD Bot

Multi-device WhatsApp bot packed with group protection, AI chat and a plugin system.

View all bots in the catalog

FAQ

Knight MD FAQs

Short answers to the questions readers ask most about Knight MD.

Knight MD, also known as Knightbot-MD, is an open-source WhatsApp Multi-Device bot published on GitHub under the mruniquehacker account. Built with the Baileys library, it focuses on group management, interactive games, sticker creation and text-to-speech.

Visit the pairing website at knight-bot-paircode.onrender.com, select the pair code option, enter your WhatsApp number with its country code, generate the code, and enter it in WhatsApp under Linked Devices using the link with a phone number option.

Yes. When you run the bot locally with node index.js, a QR code appears in the terminal. Scan it from WhatsApp Linked Devices to connect, as described in the README setup section.

Knightbot-MD uses a creds.json authentication file instead of a pasted Session ID string. You obtain it through the pairing workflow, then upload it into the repository session folder, as the deployment instructions describe. Never share it.

The README lists a hosting panel through Bot-Hosting.net, VPS hosting through Petrosky, and the Katabump panel, plus a local Node.js installation method and the pairing credentials workflow. Check the current availability and requirements of each option before you start.

Disclaimer

About This Guide

How this guide was prepared.

This article is based on the official Knightbot-MD GitHub repository and README, the pairing website linked from that README, and the developer Knight Bot Mini website, checked on the last verified date. Knightbot-MD is a third-party open-source WhatsApp bot project licensed under the MIT License.

AHMED X provides this article for educational and informational purposes only. AHMED X is not the developer or owner of Knightbot-MD and does not claim any partnership or official affiliation with mruniquehacker or the project developers.

AHMED X is not affiliated with, endorsed by, or sponsored by WhatsApp or Meta. WhatsApp is a trademark of its respective owner. Use unofficial WhatsApp automation at your own risk.

Keep Reading

Related WhatsApp Bot Guides

More free WhatsApp bot guides from the AHMED X blog.

Guide

Laka MD WhatsApp Bot: Features, Session ID and Deployment Guide

LAKA-MD is a WhatsApp bot project published on GitHub by Supun Madhuranga, a developer from Sri Lanka. It is built with Node.js and the Baileys library, ships with a plugin based structure, a Heroku deployment file and PM2 scripts, and its README is brief: it publishes no feature list, no command list and no pairing guide. This guide covers only what the repository files confirm, including the project components, how the Session ID fits into the setup, the deployment routes the files describe, and the safety points to know first.

Read the guide
Guide

Lara MD WhatsApp Bot: Features, Session ID, Pairing and Deployment Guide

LARA-MD is a WhatsApp user bot project published on GitHub in the Lara-3V repository, developed by Sadeesha. It runs on Node.js with the Baileys library, takes its Session ID from a session service linked in the README, stores its settings in settings.js, and lists deployment routes for Heroku, Replit, Koyeb, Glitch, Codespaces, Render and Railway, with its main deployment section labelled DEPLOY ONLY PAY. This guide covers what the repository confirms, and it states the safety points openly: the project says it is not open source, its entry file is obfuscated and downloads more application files at startup, and the README warns that user bots can get a WhatsApp account banned.

Read the guide
Guide

Manu MD WhatsApp Bot: Features, Session ID, Pairing Code and Deployment Guide

MANU MD, published as Manu-MD-V6, is a WhatsApp multi device bot by Manul Official from Sri Lanka. It runs on Node.js with the Baileys library, is based on Ethix-MD, carries an MIT license, and its README feature table lists AI photo enhancement, downloader, logo, anime, economy, games and media editing features. The README documents a pair code session route, GitHub Workflow and Heroku deployment, and a full manual install for a VPS or a computer. This guide also states the current status plainly: the original GitHub repository no longer opens, and the pairing route in the README no longer works.

Read the guide
Guide

Mega MD WhatsApp Bot: Features, Session ID, Pairing Code and Deployment Guide

MEGA MD is a WhatsApp Multi Device bot published on GitHub by the GlobalTechInfo organization and credited to Qasim Ali. It runs on Node.js 20 with the Baileys library, carries an MIT license, and its README documents more than 250 commands, automatic plugin loading, five storage backends, group protection and a role system. The Session ID comes from the project pairing website through a pair code or a QR code, and the repository carries setup material for a VPS, Termux, Windows WSL, Replit, Heroku, Render, Railway, Koyeb, Fly.io, Docker and Pterodactyl panels. Every claim in this guide was checked against the repository itself.

Read the guide

Deploy Your Own Free WhatsApp Bot Today

Pick a bot from the AHMED X catalog and deploy it free in minutes. No server, no coding.

Browse Free Bots