- 🌐️ Internet 🌐️️
- 🧠️ Brain 🧠️
- 🎵️ Music 🎵️
- 💫 Chill 💫
- Whatsapp-Botto-Kaoi - Go there
- Scroll down a bit and you will see the "Deploy To Heroku" button in purple color (sorry if you are color blind)
- Click on it and login or sign up for Heroku
- Enter the following fields
KEY VALUE BOTNAME Kaoi CHAT_BOT_URL 'Instructions below for getting url' CRON 'null' GOOGLE_API_KEY 'Read below to get the API Key PREFIX ! SESSION Any text you want but make sure to remember and don't share it MODS MONGO_URI YOUR CLUSTER URI
NAME
The name of the Bot
CHAT_BOT_URL
A BOT WITH A BRAIN ROCKS! Click=> Get ChatBot Url
CRON
Cron schedule for clearing all chats (Default: "0 */6 * * *"
. Every 6 Hours). change this field to null
if you don't want to schedule. Learn More
GOOGLE_API_KEY
Custom Search JSON API requires the use of an API key. Get API key here. After getting the API key, insert it while deploying on HEROKU.
PREFIX
The Prefix of the Bot
SESSION
A string to keep track of your session.
MODS
The phone numbers of users who you want to be the bot's Admins separated by a comma and must the numbers must be in the following format: [cc][number]
. eg: 919744******
MONGO_URI
is the Connection URL to your DB (Mongo-Atlas-Guide)
5. Wait for the building to finish, you should always keep an eye on log messages, you can find log messages in the Dashboard -> More -> View logs.
6. After it builds, click on the "View" or "Open App".
7. Authenticate By Providing Your SESSION_ID and a QR Code Will Show Up.
8. Open WhatsApp on your phone -> Click on the 3 Dots on the top Right -> Click on WhatsApp Web -> Click on "Link a Device" and scan the QR from the previous step.
9. Your heroku app can fall asleep so for keeping it awaken add your app to "https://kaffeine.herokuapp.com/". It pings your Heroku app every 30 minutes so it will never go to sleep.
10. Profit! Ultimate!