Try it out by sending #help on +916268727514 this number.
Easy deploy your bot, steps in the bottom.
Requirements :
- Heroku account
- Heroku cli
- Git
Download and install git from (https://git-scm.com/downloads)
-
Create account on heroku. (https://signup.heroku.com/)
-
After login on heroku dashboard create an app on heroku (https://dashboard.heroku.com/apps)
-
In the 'Deploy' section download Heroku CLI or from (https://devcenter.heroku.com/articles/heroku-cli#download-and-install)
- After downloading and installing Heroku CLI in your system login to heroku cli using
heroku login
in command prompt or powershell. - 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>
- 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>
- Now download or clone the whatsapp-bot repo by
git clone https://github.com/chauhanshivam079/I-Bot.git
- Now enter in whatsapp-bot directory using
cd I-Bot
in command prompt or terminal. - Create the remote region using
heroku git:remote -a <your-app-name>
- Now push the local repo in your heroku app using
git push heroku master
- Now after the deploy process is completed use
heroku logs -app <your-app-name> --tail
to get real time logs from heroku app. - 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!!
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 |
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 (https://kaffeine.herokuapp.com) to ping the heroku app every 30 minutes to prevent it from sleeping.
Your bot will be deployed on heroku but still you need to install heroku locally to scan QR code
- Download Heroku CLI from here
- Open terminal
- Type command
heroku login
and give access - Type command
heroku logs -a <your-app-name> --tail
Now you'll see QR code, scan with your device and bot will start working!