Our WhatsApp bot project allows users to easily perform various actions such as downloading songs, getting lyrics, creating memes, and more. Some of the available commands include: downloading songs, getting lyrics, creating stickers, converting media types, searching for images, converting videos to audio, getting facts, showing news and horoscopes, getting quotes, and more. Additionally, users can download media from Instagram and Facebook, and get the gender percentage based on a name. Our bot also has a dictionary feature and can translate text to a specified language. Give it a try and see all that it can do!
Group Commands | Explanation | Example | Working/Not Working |
---|---|---|---|
-alive | Check if the bot is online or not | -alive |
✔ |
-admin | List of admin commands | -admin |
✔ |
-song | Download a song by name | -song love me like you do |
❌ |
-l | Get lyrics for a song | -l Main woh chaand by darshan raval |
✔ |
-delete | Delete a message sent by the bot | -delete |
✔ |
-joke | Get a random joke | -joke |
✔ |
-joke categories | Get a joke from a specific category | -joke programming |
✔ |
-meme | Get a random meme | -meme |
✔ |
-movie | Get a download link for a movie | -movie Avengers |
❌ |
-anime | Get a quote from an anime character or show | -anime |
✔ |
-anime name | Get a quote from an anime character with a specific name | -anime name Saitama |
✔ |
-anime title | Get a quote from an anime show with a specific title | -anime title One Punch Man |
✔ |
-sticker | Create a sticker from different media types | -sticker pack myBitBot author MD |
✔ |
-sticker crop | Crop the sticker size | -sticker crop |
✔ |
-sticker author | Add metadata to the sticker | -sticker author MD |
✔ |
-sticker pack | Add metadata to the sticker | -sticker pack myBitBot |
✔ |
-sticker nometadata | Remove all metadata from the sticker | -sticker nometadata |
✔ |
-steal | Send a sticker with the bot's metadata | -steal |
✔ |
-toimg | Convert a sticker to an image | -toimg |
✔ |
-image | Convert a sticker to an image | -image |
✔ |
-img | Search for an image using Google | -img cute cat |
✔ |
-mp3 | Convert a video to audio | -mp3 |
✔ |
-mp4audio | Convert a video to audio | -mp4audio |
✔ |
-tomp3 | Convert a video to audio | -tomp3 |
✔ |
-fact | Get a random fact | -fact |
✔ |
-news | Show tech news | -news |
✔ |
-news categories | Show news from a specific category | -news sports |
✔ |
-list | Show a list of categories for news | -list |
✔ |
-idp | Download the private profile picture of an Instagram user | -idp username |
❌ |
-insta | Download media from Instagram | -insta linkadress |
✔ |
-gender | Get the gender percentage of a name | -gender FirstName |
✔ |
-yt | Download a YouTube video in the best quality | -yt youtubelink |
❌ |
-vs | Search for and download a video | -vs khena galat galat |
❌ |
-horo | Show your horoscope based on your astrological sign | -horo pisces |
✔ |
-advice | Get a random advice from the bot | -advice |
✔ |
-quote | Get a random quote from the bot | -quote |
✔ |
-proq | Get a programming quote from the bot | -proq |
✔ |
-proquote | Get a programming quote from the bot | -proquote |
❌ |
-qpt | Get a poem written by an author | -qpt author Shakespeare title sonnet |
❌ |
-qpt author | Get a poem written by a specific author | -qpt author Shakespeare |
✔ |
-qpt authors | Get a list of authors for poems | -qpt authors |
✔ |
-qpoetry | Get a poem written by an author | -qpoetry |
✔ |
-removebg | Remove the background from an image | -removebg |
✔ |
-nsfw | Get the NSFW percentage of an image | -nsfw |
❌ |
-tts | Change text to a sticker | -tts text |
✔ |
-text | Add a header and footer to an image | -text TopText;BottomText |
✔ |
-ud | Show the meaning of a name | -ud Mahesh |
✔ |
-dic | Get the definition of a word from a dictionary | -dic Love |
✔ |
-txtmeme | Add a header and footer to an image | -txtmeme TopText;BottomText |
✔ |
-source | Get the source code | -source |
✔ |
Admin Commands | Explanation | Example | Working/Not Working |
---|---|---|---|
-add | Add a new member to the group | -add phone number |
✔ |
-ban | Kick a member out of the group | -ban @mention |
✔ |
-promote | Give admin permissions to a member | -promote @mention |
✔ |
-demote | Remove admin permissions from a member | -demote @mention |
✔ |
-rename | Change the group's subject | -rename new-subject |
✔ |
-welcome | Set the group's welcome message | -welcome |
✔ |
-chat | Enable or disable group chat | -chat on or -chat off |
✔ |
-link | Get the group's link | -link |
✔ |
-warn | Give a warning to a member | -warn @mention |
✔ |
-unwarn | Remove a warning from a member | -unwarn @mention |
✔ |
-tagall | Send an attendance alert to all members | -tagall message |
✔ |
To set up Koyeb for this project, follow these steps:
- Create an account on Koyeb at https://app.koyeb.com/auth/signup.
- Log in to the Koyeb dashboard and create a new app at https://app.koyeb.com/apps/new.
- In the 'Deploy' section, choose your preferred deployment method (GitHub or Docker).
- Set any necessary environment variables. All Required Env Are Here
- Add the build and run commands:
npm i
andnode index.js
To run this WhatsApp bot locally, create a .env
file in the local directory and add the following key-value pairs:
- PREFIX: Enter your bot prefix. (Required)
- DEEPAI_KEY: Obtain it from deepai.com. (Required)
- MY_NUMBER: Enter your phone number to access all owner commands. (Required)
- BOT_NUMBER: Enter the number where the bot is deployed. (Required)
- MONGODB_KEY: Get it from mongodb.com. (Required)
- INSTA_API_KEY: (Not needed) Previously fetched from Insta-fetcher.
- REMOVE_BG_KEY: Obtain it from remove.bg.
- TRUECALLER_ID: (Not needed) Previously used with
truecaller.js
. - GOOGLE_API_KEY: Get it from the Google Developer Console.
- SEARCH_ENGINE_KEY: Obtain it from the Google Developer Console.
- LYRICS_KEY: Obtain it from Genius.com.
PREFIX=your_bot_prefix
DEEPAI_KEY=your_deepai_key
MY_NUMBER=your_phone_number
BOT_NUMBER=bot_deployment_number
REMOVE_BG_KEY=your_remove_bg_key
GOOGLE_API_KEY=your_google_api_key
SEARCH_ENGINE_KEY=your_search_engine_key
MONGODB_KEY=your_mongodb_key
LYRICS_KEY=your_genius_lyrics_key
Install the dependencies:
npm install
To run the bot, enter the following command:
node index.js
If you enjoyed using this project, please consider giving it a ⭐ on GitHub. Your support is greatly appreciated! ❤️