Skip to content

mruniquehacker/Knightbot

Repository files navigation

🤖 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: Scan QR Code

Deploy the bot and easily connect it to your WhatsApp account by scanning the QR code. Click the button below to deploy the bot on Replit.


Step 3: Deploy Now

For further customization and setup guidance, click the button below:


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:

    git clone https://github.com/mruniquehacker/Knightbot.git
    cd Knightbot
  2. Install the dependencies:

    npm install
  3. Run the bot:

    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.


📝 Commands

General Commands:

  • .help or .menu
  • .tts <text>
  • .sticker or .s
  • .owner

Admin Commands:

  • .ban @user
  • .promote @user
  • .demote @user
  • .mute <minutes>
  • .unmute
  • .delete or .del
  • .kick @user
  • .warnings @user
  • .warn @user
  • .antilink

Game Commands:

  • .tictactoe @user
  • .move <position>

Group Management:

  • .tagall

Other:

  • .topmembers

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🙌 Contributions

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.


🌟 Show your support

If you like this project, please give it a ⭐️ star on GitHub!