https://github.com/mruniquehacker/knightbot-md
A simple WhatsApp bot to manage groups
https://github.com/mruniquehacker/knightbot-md
github-whatsapp-bot knight knight-bot knight-bot-md knightbot knightbot-whatsapp-bot whatsapp whatsapp-bot whatsapp-bot-md whatsapp-bot-multi-device
Last synced: 5 months ago
JSON representation
A simple WhatsApp bot to manage groups
- Host: GitHub
- URL: https://github.com/mruniquehacker/knightbot-md
- Owner: mruniquehacker
- Created: 2025-01-28T07:02:03.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-09T10:02:05.000Z (8 months ago)
- Last Synced: 2025-04-03T08:06:04.041Z (6 months ago)
- Topics: github-whatsapp-bot, knight, knight-bot, knight-bot-md, knightbot, knightbot-whatsapp-bot, whatsapp, whatsapp-bot, whatsapp-bot-md, whatsapp-bot-multi-device
- Language: JavaScript
- Homepage: https://www.youtube.com/@mr_unique_hacker
- Size: 239 KB
- Stars: 1,153
- Watchers: 4
- Forks: 2,616
- Open Issues: 51
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🤖 Knight Bot
This is a WhatsApp bot built using the Baileys library for group management, including features like tagging all members, muting/unmuting, and many more. It's designed to help admins efficiently manage WhatsApp groups.
---
## 🚀 Steps to Deploy
### Step 1: Fork the Repository
Click the button below to fork the Knight Bot repository to your GitHub account:
---
### Step 2: Get Pair Code
Deploy the bot and easily connect it to your WhatsApp account by pair code. Click the button below to deploy the bot on Replit.
### After getting creds.json file, upload it to session folder
---
### Step 3: Deploy Now
For further customization and setup guidance, click the button below:
### Deploy Now on Below Panel
### Join Us
---
## ⚙️ Features
- **Tag all group members** with the `.tagall` command
- **Admin restricted usage** (Only group admins can use certain commands)
- **Games** like Tic-Tac-Toe for interactive group engagement
- **Text-to-Speech** with `.tts`
- **Sticker creation** with `.sticker`
- **Anti-link detection** for group safety
- **Warn and manage group members** with admin control---
## 📖 About
The Knight WhatsApp Bot assists group admins by providing them with tools to efficiently manage large WhatsApp groups. The bot uses the Baileys library to interact with the WhatsApp Web API and supports multi-device features.
It is lightweight and can be easily customized to add more commands as per your requirements. The bot runs in a Node.js environment and provides QR code-based authentication to link your WhatsApp account.
---
## 🛠️ Setup & Installation
### Prerequisites
- Node.js installed on your system
- Git installed (for cloning the repository)### Step-by-Step Setup
1. **Clone the repository:**
```bash
git clone https://github.com/mruniquehacker/Knightbot-MD.git
cd Knightbot-MD
```2. **Install the dependencies:**
```bash
npm install
```3. **Run the bot:**
```bash
node index.js
```4. **Scan the QR code:**
Once the bot starts, a QR code will appear in the terminal. Scan this QR code using the Linked Devices feature in WhatsApp to connect your WhatsApp account with the bot.
---
## 📄 License
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT) - see the [LICENSE](https://github.com/mruniquehacker/Knightbot-MD/blob/main/LICENSE) file for details.
---
## 🙌 Contributions
Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/mruniquehacker/Knightbot-MD/issues).
---
## 🌟 Show your support
If you like this project, please give it a [⭐️ star on GitHub](https://github.com/mruniquehacker/Knightbot)!
## Credits
- [Professor](https://github.com/mruniquehacker)
- [Baileys](https://github.com/adiwajshing/Baileys)
- [TechGod143](https://github.com/TechGod143) for pair code
- [Dgxeon](https://github.com/Dgxeon) for pair code---
## ⚠️ Important Warning
**Note:** This bot is created for educational purposes only. This is NOT an official WhatsApp bot. Using this bot may lead to your WhatsApp account being banned. Use it at your own risk. The developers will not be responsible for any consequences or account bans that may occur while using this bot.
## 📝 Legal
- This project is not affiliated with, authorized, maintained, sponsored or endorsed by WhatsApp or any of its affiliates or subsidiaries.
- This is an independent and unofficial software. Use at your own risk.
- Do not spam people with this bot.
- Do not use this bot to send bulk messages or for illegal purposes.
- The developers assume no liability and are not responsible for any misuse or damage caused by this program.### License
This project is licensed under the MIT License. However, you must:
- Use this software in compliance with all applicable laws and regulations
- Include original license and copyright notices
- Credit original authors
- Not use for spam or malicious purposes## 📜 Copyright Notice
Copyright (c) 2024 Professor. All rights reserved.
This project contains code from various open source projects:
- Baileys (MIT License)
- Other libraries as listed in package.json