Giter Site home page Giter Site logo

shyguy99 / i-bot-baileys Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 65.85 MB

Whatsapp Bot

JavaScript 99.97% Procfile 0.01% Shell 0.02%
baileys baileys-md bot compiler cryptocurrency google-search image-search instagram instagram-api instagram-profile-downloader

i-bot-baileys's Introduction

New Multi Device Whatsapp Bot

Try it out by sending #help on +916268727514 this number.

Easy deploy your bot, steps in the bottom.

Requirements :

  • Heroku account
  • Heroku cli
  • Git

Instructions:- ๐Ÿš€

Git Setup

Download and install git from (https://git-scm.com/downloads)

Heroku Setup

  1. Create account on heroku. (https://signup.heroku.com/)

  2. After login on heroku dashboard create an app on heroku (https://dashboard.heroku.com/apps)

  3. In the 'Deploy' section download Heroku CLI or from (https://devcenter.heroku.com/articles/heroku-cli#download-and-install)

Heroku CLI

  1. After downloading and installing Heroku CLI in your system login to heroku cli using heroku login in command prompt or powershell.
  2. Add ffmpeg (for sticker support) in your heroku app using heroku buildpacks:add https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git -a <your-app-name>
  3. After adding ffmpeg now add 'Heroku Buildpack for Node.js' using heroku buildpacks:add https://github.com/heroku/heroku-buildpack-nodejs.git -a <your-app-name>
  4. Now download or clone the whatsapp-bot repo by git clone https://github.com/chauhanshivam079/I-Bot.git
  5. Now enter in whatsapp-bot directory using cd I-Bot in command prompt or terminal.
  6. Create the remote region using heroku git:remote -a <your-app-name>
  7. Now push the local repo in your heroku app using git push heroku master
  8. Now after the deploy process is completed use heroku logs -app <your-app-name> --tail to get real time logs from heroku app.
  9. In real time logs it will automatically ask you for login using qr code just simple scan the qr code using your whatsapp web section, and you are done.

Now Bot will start working!! Work even if the device is offline!!

Features:- ๐Ÿš€

Default prefix : #

Commands :

Public Commands Description Alias
#help Display public commands
#a Check bot is ON or OFF
#link Get current group link
#source Get the bot source
#steal Change sticker name to I-Bot
or to a name of your choice

Member Commands Description Alias
#msgcount Know message count in current group #mc
#sticker Create sticker from different media types #s
#disable To block particular commands for group
#toimg Create image from sticker
#mp3s Get any song in good quality
#iprof Get insta user profile details including dp
#igd Get insta reels or post videos #i
#vs Download youtube videos
#mp3c Download youtube audio
#tagall tag all members in group
#gs to search anything on google
#is to search for an image
#ps to search for an electronic products
#cprice to get the price of a crypto coin #cp
#cnews to get the news for specific crypto coin #cn
#sprice to get the price of a stock #sp
#last_tag to get the last tagged message #lt
#run to compile and run code in various lang
#w to get a random word with its meaning
#horo to know the horoscope of current date
#dict to know the meaning of a word #d
#td to download twitter post

Admin Commands Description Alias
#add Add member to group
#kick kick member from group
#promote to make member a admin in group
#demote to make admin a member in group
#tagadmins Tag all admins of group
#warning Give warning to user
#tagall Tag all members in group
#delte to delete message of anyone in a group #dd

Note:- ๐Ÿš€

Since heroku uses:- Dyno sleeping in which if an app has a free web dyno, and that dyno receives no web traffic in a 30-minute period, it will sleep. In addition to the web dyno sleeping, the worker dyno (if present) will also sleep. and if a sleeping web dyno receives web traffic, it will become active again after a short delay (assuming your account has free dyno hours available) You can use (http://kaffeine.herokuapp.com) to ping the heroku app every 30 minutes to prevent it from sleeping.

References:- ๐Ÿš€

Easy way to deploy:- ๐Ÿš€

Your bot will be deployed on heroku but still you need to install heroku locally to scan QR code

  1. Download Heroku CLI from here
  2. Open terminal
  3. Type command heroku login and give access
  4. Type command heroku logs -a <your-app-name> --tail

Now you'll see QR code, scan with your device and bot will start working!

i-bot-baileys's People

Contributors

chauhanshivam079 avatar shyguy99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.