Giter Club home page Giter Club logo

bot-wa-1's Introduction

Diedit oleh



RequirementsInstallationFeaturesThanks toLicense

Requirements

Requirements Heroku

Heroku hosting is not recommended for public group.

Installation

📝 Cloning this repo

> git clone https://github.com/cr4r/bot-wa.git
> cd bot-wa

📝 Instalasi peralatan di OS ubuntu

> npm run ubuntu

✍️ Editing the file

Edit the required value in config.json.

{
    "ownerBot": "[email protected]",
    "prefix": ".",
    "uaOverride": "WhatsApp/2.2037.6 Mozilla/5.0 (CR4R; Coders Family 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": "api-key",
    "lol": "api-key",
    "authorStick": "@cr4r",
    "packStick": "CodersFamily",
    "stiker": {
        "img": {
            "author": "Coders Family",
            "pack": "CR4R",
            "keepScale": true
        },
        "video": {
            "stickerMetadata": true,
            "pack": "Coders Family",
            "author": "CR4R",
            "fps": 30,
            "startTime": "00:00:00.0",
            "crop": false,
            "loop": 0
        }
    }
}

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.
stiker: Config stiker.

🗣️ 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
Clear all messages
Broadcasting
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

bot-wa © cr4r, released under the MIT License. Authored and maintained by cr4r.

bot-wa-1's People

Contributors

cr4r avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.