Skip to content

rickyzakariap/simple-whatsapp-bot

Repository files navigation

OngBak-Bot WhatsApp 🤖

A versatile WhatsApp bot for downloading, games, group tools, and more!


🚀 Main Features

  • Download TikTok, YouTube, Instagram videos, and MP3
  • Fun games: guess the number, quiz, math challenge
  • Tools: sticker maker, crypto info, weather
  • Group admin: add/kick members
  • Simple command menu: type .menu in WhatsApp

📥 Popular Commands

Downloader:

.tiktok <url>      TikTok Video
.yt <url>          YouTube Video
.ytmp3 <url>       YouTube MP3
.ig <url>          Instagram Post/Reel ⚠️
.fb <url>          Facebook Video ⚠️

⚠️ Note: Instagram and Facebook downloaders may be unreliable due to platform restrictions. TikTok and YouTube work reliably.

Games & Tools:

.tebakangka        Guess the number
.quiz              Quiz
.math              Math challenge
.sticker           Sticker maker
.coin              Crypto info
.weather           Weather info

Group:

.add <number>      Add member
.kick <number>     Remove member

Admin Tools:

.performance       View bot performance stats
.listtriggers      List auto-reply triggers
.addtrigger        Add auto-reply trigger

🔧 Performance Features

This bot includes advanced performance optimizations:

  • Caching System - Reduces file I/O by 90%
  • Connection Health Monitoring - Auto-recovery with exponential backoff
  • Lazy Command Loading - Commands loaded only when needed
  • Rate Limiting - Prevents API abuse
  • Message Queue - Handles high-traffic scenarios

⚡️ Getting Started

  1. Install dependencies:
    git clone https://github.com/rickyzakariap/simple-whatsapp-bot.git
    cd simple-whatsapp-bot
    npm install
    npm install abot-scraper --legacy-peer-deps
  2. Run the bot:
    node index.js
  3. Scan the WhatsApp QR code on first run.
  • Max file size for video/audio: 100MB (WhatsApp limit)
  • See all features: type .menu in WhatsApp

🙋‍♂️ Support & Contribution

  • Suggestions/bugs: open an issue on GitHub
  • Contact: @rickyzakariap

wakatime

📄 License

MIT License

Copyright (c) 2024

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Power up your WhatsApp chats with this all-in-one bot. Download videos from TikTok, YouTube, and Instagram, create stickers from images, and play interactive games like quizzes. It also features group management tools, crypto price lookups, and weather updates, offering a complete solution.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors