/Bot

BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!

Primary LanguageJavaScriptMIT LicenseMIT

BocchiBot

BocchiBot

BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!

Made with ❤️ by



RequirementsInstallationFeaturesThanks toLicense

Requirements

Requirements Heroku

Heroku hosting is not recommended for public group.

Installation

📝 Cloning this repo

> git clone https://github.com/SlavyanDesu/BocchiBot.git
> cd BocchiBot

✍️ Editing the file

Edit the required value in config.json.

{
    "ownerBot": "62812xxxxxxxx@c.us", 
    "prefix": "$",
    "uaOverride": "WhatsApp/2.2037.6 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36",
    "nao": "api-key",
    "vhtear": "api-key",
    "melodic": "administrator",
    "tobz": "BotWeA",
    "lol": "api-key",
    "authorStick": "@SlavyanDesu",
    "packStick": "BocchiBot"
}

ownerBot: your WhatsApp number.
prefix: based on the latest update, you don't need to change the prefix, because this bot has multiple prefix.
uaOverride: your user agent.
nao: SauceNAO API key. You can get it here by creating an account.
vhtear: VHTear API key. You can get it here by purchasing his API key.
melodic: MelodicXT API key. You can use administrator key.
tobz: Tobz API key. You can use BotWeA key.
lol: LolHuman API key. You can get it here by creating an account.
authorStick: name of the author sticker pack.
packStick: name of the sticker pack.

🗣️ Changing language

If you want to change the language to English, replace all ind function to eng.
Example:

ind.wrongFormat()

To:

eng.wrongFormat()

🧾 Installing the Tesseract

  • Download the file here.
  • After that, run downloaded file as Administrator.
  • Complete the installation.
  • Run Command Prompt as Administrator.
  • Run this command:
> setx /m PATH "C:\Program Files\Tesseract-OCR;%PATH%"

It will give us a callback like SUCCESS: specified value was saved.

  • Now that you've Tesseract installed, verify that it's working by running this command to see version number:
> tesseract -version

🛠️ Installing the FFmpeg

  • Download one of the available versions of FFmpeg by clicking this link.
  • Extract the file to C:\ path.
  • Rename the extracted folder to ffmpeg.
  • Run Command Prompt as Administrator.
  • Run this command:
> setx /m PATH "C:\ffmpeg\bin;%PATH%"

It will give us a callback like SUCCESS: specified value was saved.

  • Now that you've FFmpeg installed, verify that it's working by running this command to see version number:
> ffmpeg -version

🔍 Installing the dependencies

> npm install

🆗 Running the bot

Regular node:

> npm start

PM2:

> pm2 start index.js
> pm2 monit

PM2 with cron job (restart after 5 hours):

> pm2 start index.js --cron "* */5 * * *"
> pm2 monit

After that scan the QR code using your WhatsApp in your phone!

Known issue

ESM error

To prevent this, please use node-fetch and parse-ms with v2.x version.

> npm install node-fetch@2.6.5
> npm install parse-ms@2.1.0

Features

If you want to unlock premium commands, please buy me a coffee at least 1 on Ko-fi platform.

Deploy Availability
Heroku ✔️
Local ✔️
Leveling Availability
Leveling ✔️
Sticker Maker Availability
Send/reply image ✔️
Send/reply GIF ✔️
Send/reply MP4 ✔️
Text to sticker ✔️
Text to sticker GIF ✔️
Sticker to image ✔️
Sticker WM ✔️
Take sticker ✔️
Downloader Availability
Facebook video ✔️
YouTube audio/video ✔️
Joox musics ✔️
TikTok video ✔️
TikTok profile pic ✔️
Twitter video/image ✔️
Instagram post ✔️
Instagram story ✔️
LK21 ✔️
TikTok no WM ✔️
Misc Availability
OCR (Image to Text) ✔️
Say ✔️
Search lyrics ✔️
Shortlink maker ✔️
Wikipedia (EN) ✔️
Wikipedia (ID) ✔️
KBBI scarper ✔️
Stalk IG account ✔️
GSMArena scraper ✔️
Search food receipts ✔️
YouTube search ✔️
Text to speech ✔️
AFK ✔️
Distance calculator ✔️
Sticker search ✔️
Calculator ✔️
Al-Qur'an surah ✔️
List surah ✔️
Random contact ✔️
YouTube play ✔️
Whois ✔️
SMS gateway ✔️
Al-Qur'an tafseer ✔️
Al-Kitab search ✔️
LK21 scraper ✔️
Reminder ✔️
Image uploader ✔️
Sholat schedule ✔️
Latest Line stickers ✔️
Check postage ✔️
Sending email ✔️
Random quotes ✔️
Genshin chara info ✔️
Bass boost ✔️
Fun Availability
Weton jodoh ✔️
Horoscope ✔️
Harta tahta maker ✔️
Writing text maker ✔️
Glitch text maker ✔️
SimSimi chatbot ✔️
Blackpink logo maker ✔️
Pornhub logo maker ✔️
Galaxy text maker ✔️
Truth or dare ✔️
Asupan TikTok ✔️
PH comment maker ✔️
Triggered maker ✔️
Kiss image maker ✔️
3D text maker ✔️
Freefire logo maker ✔️
Freefire banner maker ✔️
Sliding text maker ✔️
Hero ML maker ✔️
Fire text maker ✔️
Couple balloon maker ✔️
Wasted maker ✔️
Cakl Lontong quiz ✔️
Hilih-ify text ✔️
Tebak gambar quiz ✔️
Random doge stickers ✔️
Dice ✔️
Weeb Zone Availability
Random neko girl ✔️
Random wallpaper ✔️
Random kemonomimi ✔️
Kusonime scraper ✔️
Komiku scraper ✔️
Random Video Loli ✔️
Anime tracer ✔️
Source finder ✔️
Random waifu pics ✔️
Anitoki latest update ✔️
Random anime stickers ✔️
Neonime latest update ✔️
Anoboy on-going list ✔️
Search character ✔️
Sticker keywords ✔️
Bot Availability
Server usage ✔️
Blocked list ✔️
Ping ✔️
Delete messages ✔️
Bug report ✔️
Join group ✔️
Check serials ✔️
Owner Availability
Broadcasting ✔️
Clear all messages ✔️
Leave all groups ✔️
Get snapshot ✔️
Ban ✔️
Eval ✔️
Shutdown ✔️
Add premium user ✔️
Set bot's info ✔️
Mute bot ✔️
Block ✔️
Unblock ✔️
Moderation Availability
Add ✔️
Kick ✔️
Promote ✔️
Demote ✔️
Leave bot ✔️
Everyone ✔️
Toogle NSFW ✔️
Set group icon ✔️
Anti-group link ✔️
Toogle welcome ✔️
Auto-sticker ✔️
Mute group ✔️
Anti-NSFW link ✔️
Anti-porn Premium
NSFW Availability
Lewds ✔️
nHentai lookup ✔️
Fetish ✔️
Latest Nekopoi ✔️
Pornhub downloader ✔️
Waifu 18+ ✔️
Yuri ✔️
Femdom ✔️
Lewd avatars ✔️
nHentai search ✔️
nHentai downloader Premium/Free
Multi-lewds Premium
Multi-fetish Premium

Thanks to

License

BocchiBot © SlavyanDesu, released under the MIT License. Authored and maintained by SlavyanDesu.