Giter VIP home page Giter VIP logo

akeno-whatsapp-bot's Introduction

Akeno

Akeno Bot

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



RequirementsInstallationFeaturesThanks to

Requirements

Installation

📝 Cloning this repo

> git clone https://github.com/Jazzboy-12/Akeno-Whatsapp-Bot.git
> cd Akeno-Whatsapp-Bot

✍️ Editing the file

Edit msgHandler.js to change the prefix and bot admin of the bot as needed

Edit help.js for bot name and display messages

🧾 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 (may need to restart Command Prompt):
> 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 (may need to restart Command Prompt):
> ffmpeg -version

🕸 Installing the gif2webp

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

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

  • Now that you've gif2webp installed, verify that it's working by running this command to see version number (may need to restart Command Prompt):
> gif2webp -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!

Features

Prefix = !

Features Command Acces
Convert Images/Gifs into stickers !sticker Everyone
Gives Caption to Images and converts them into stickers !stickermeme Everyone
Triggers Images and converts them into stickers !triggered Everyone
Converts stickers to images !toimg Everyone
GTA styled wasted caption to images !wasted Everyone
Display anime info !anime Everyone
Display Group info !groupinfo Everyone
Return anime wallpapers !wallpaper Everyone
Scrap Subreddits [image based] !sr subreddit Everyone
Display Covid 19 Info !covid country Everyone
Greet new members !act welcome Admins
Mention all group members !ping text Admins
Promote members !promote @user Admins
Demote admins !demote @user Admins
Display User profile !profile / !profile @user Everyone
Kicks the user !snap @user Admins
Bot leaves the group !leave Admins
Bot joins using group invite link !join Bot Admin
Sets status of Akeno !setstatus Bot Admin
Gives english text from image !ocr Everyone
Broadcasts messages to all chats of Akeno !bc Bot Admin

Random results

Command Result
!pokemon Displays a random pokemon
!rpaper Displays a random Wallpaper
!waifu Displays a random waifu and the info
!husbu / !husbando Displays a random husbando and info
!animeneko Displays a random animeneko
!cat Displays a random cat
!doggo Displays a random dog
!dogesticker Displays a random doge sticker
!wholesome Displays a random wholesome sticker
!animesticker Displays a random anime character sticker
!tod Truth or dare game
!pickup Pickup lines

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

🔮 Kudos to these amazing homo sapiens

📚 Special Thanks to

akeno-whatsapp-bot's People

Contributors

jatin-1956 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

akeno-whatsapp-bot's Issues

Bro Help

msg is not defined in nonPrefix.js

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.