Skip to content

bugs-tech/BUGSbot

Repository files navigation

🔥 BUGS-BOT 🔥

A powerful WhatsApp multi-function chatbot built . It includes command categories like AI chat (still under developement ), group management, and owner utilities – perfect for automation and entertainment.


🚀 Features

  • 🌐 AI-Powered Commands: Use OpenAI for intelligent chat, translations, image generation, and definitions.
  • 🛠 Group Management: Tools like kick, tagall, setwelcome, ban, and more.
  • 👑 Owner Utilities: Remote bot control (shutdown, restart, autobio, etc).
  • 🎮 Fun and General: Commands like joke, roll, ping, and styled menu.
  • 🧠 Optimized Performance: Displays bot speed, RAM usage, and system stats in real-time.

📂 Folder Structure

.
├── commands/
│   ├── menu.js
│   ├── owner.js
│   ├── spam.js
│   └── ...
├── media/
│   └── menu.jpg
├── settings.js
├── index.js
├── handler.js
└── README.md

⚙️ Setup Instructions

  1. Clone this bot:
 https://github.com/morel22/BUGSbot.git
cd bugsbot
  1. Install dependencies:
npm install
  1. Edit your settings.js:
export default {
  prefix: '.',
  version: '1.0.0',
  botOwnerNumbers: ['1234567890'], // Your WhatsApp number
  openAiKey: 'sk-xxxxxx', // Your OpenAI key (optional)
};
  1. Run the bot:
node index.js


🚀 Deployment

🟣 Deploy to Render (Free Hosting)

Prerequisites

Steps

  1. Click "New Web Service" in Render dashboard
  2. Connect your GitHub and select your BUGS-BOT fork
  3. Use the following settings:
    • Environment: Node
    • Start Command: node index.js
    • Build Command: npm install
  4. Add these environment variables:
    • BOT_PREFIX: your command prefix (e.g., .)
    • OPENAI_API_KEY: your OpenAI key
    • BOT_OWNER_NUMBERS: comma-separated owner numbers (no +)

Once deployed, your bot will start and scan the QR code via logs.


📱 Deploy on Android (Termux)

Prerequisites

  • Android phone
  • Install Termux

Steps

pkg update && pkg upgrade
pkg install git nodejs ffmpeg

git clone https://github.com/morel22/BUGSbot.git
cd BUGS-BOT
npm install

node index.js

Scan the QR from your WhatsApp to activate.


🔐 Permissions

Command Who Can Use
.menu Everyone
.owner Everyone
.spam Owner Only
.tagall Admins
.ask Everyone (AI)

🖼️ Menu Preview

The menu shows all commands grouped in categories with stylish formatting and an optional image banner (./media/menu.jpg).


📌 Notes

  • This bot uses [Baileys] for WhatsApp multi-device support.
  • Make sure to create your session and scan your QR code before using.
  • Ensure menu.jpg exists in the media/ folder or the bot will send text instead.
  • use the whoami command to know your whatsapp id and add inside the .env file

🙏 Credits

  • Inspired by KnightBot, EliteProBot, and OpenAI integrations.
  • Developed with ❤️ by [Ngoulla Morel].

About

No description, website, or topics provided.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors