@opengitcode/openbot
v3.0.2
Published
OpenBot v3.0 - Advanced WhatsApp Bot with Economy, Games, Mining, Trading & More
Maintainers
Readme
🚀 OpenBot v3.0
OpenBot is a professional, feature-rich WhatsApp bot designed for communities and groups. Built with Node.js and SQLite, it offers a robust economy system, interactive games, mining, trading, and easy-to-use moderation tools—all under the GPL-3.0 Open Source License.
✨ Features
- 💰 Economy System: Work, daily rewards, and bank transfers.
- 🎮 Casino & Games: Blackjack, Slots, Roulette, Dice, Coinflip, and Higher/Lower.
- ⛏️ Advanced Systems: Resource mining (Coal, Gold, Diamonds) and a dynamic Stock Market.
- 🎯 Progression: Level up, gain experience, and climb the Global Leaderboard.
- 🖼️ Stickers: Create personalized stickers with custom metadata.
- 🌐 Web Panel: Monitor bot stats and leaderboards via a built-in web dashboard.
🛠️ Installation
Prerequisites
- Node.js: v18 or higher.
- System Tools:
- Windows:
npm install --global windows-build-toolsor Visual Studio (C++). - Linux:
sudo apt install build-essential python3 libnss3-dev. - Mac:
xcode-select --install.
- Windows:
Setup
If you are using the source code from GitHub:
- Clone the repository:
git clone https://github.com/OpenGitCode/OpenBot.git cd OpenBot npm install
If you are using it as a dependency:
npm install @opengitcode/openbot🚀 Running the Bot
To start the bot, run:
npm start- A QR Code will appear in the terminal.
- Open WhatsApp on your phone -> Linked Devices -> Link a Device.
- Scan the QR code.
- Once the terminal says
✅ OpenBot is ready!, you are good to go.
📖 Usage & Commands
Use the prefix ! (configurable in .env) to call commands:
| Category | Commands |
| :--- | :--- |
| Economy | !balance, !work, !daily, !transfer, !leaderboard |
| Games | !blackjack, !slots, !roulette, !dice, !coinflip, !hl |
| Mining | !mine [ore], !ores |
| Trading | !stocks, !buy [stock] [amount], !sell [stock] [amount] |
| Utility | !help, !profile, !rank, !sticker, !setmeta, !git |
🛠️ Customization & Editing
OpenBot is highly modular. You can find the core logic in the following directories:
core/: Main engines for economy, games, and commands.index.js: Bot initialization and event handling.panel/: Web server logic and API routes.data/: SQLite database storage.
Adding New Commands
To add a new command, simply open core/commands.js and add a new else if (command === 'yourcommand') block in the execute method.
📜 License & Open Source
This project is licensed under the GNU GPL-3.0 License.
- Freedom to modify: You can change anything you want.
- Freedom to distribute: You can share your modified version.
- Keep it Open: Any modified version must also be licensed under GPL-3.0 and keep the source code public.
👤 Credits
Developed with ❤️ by OpenGit.
GitHub: https://github.com/OpenGitCode
OpenBot - Empowering WhatsApp Communities.
