- 🌐️ Internet 🌐️️
- 🧠️ Brain 🧠️
- 🎵️ Music 🎵️
- I'd recommend using 🦊️ the Firefox browser
- I'd recommend disabling extreme ad-blocking extension or settings as it may cause some sites to break
-
Go to MongoDB cloud atlas
-
Sign up if you don't have an account already or log in if you have one already. PS: If you don't want to use your email, go to https://temp-mail.org/en/ and generate a temporary disposable email address uwu)/
-
Create a new cluster on Mongo Atlas. [It takes time, so don't worry]
-
After creating a cluster, click on the 'CONNECT' button on the cluster which you've created.
-
On Setup connection security, I'd recommend you to add 'Your Current IP Address' for security concerns but if you are not willing to go through a little bit of pain, then simply add 'Access from anywhere. Also, you can change this anytime by opening your "IP Access list tab".
-
Then, create a database user, fill up the name and password and MAKE SURE TO REMEMBER THEM.
-
Click on the "Choose a connection method" and then click on the "Connect Your Application" option.
-
Finally, on the "Connect" tab select "Nodejs" as DRIVER with "3.6 or later" in VERSION.
-
Copy the connection string that is provided below and paste it somewhere and replace with 'the password you added while creating database user', also make sure to remove '< >' these from . This will be your MONGO CLUSTER URI.
mongodb+srv:https://NekoDaKamiSama:[email protected]/myFirstDatabase?retryWrites=true&w=majority
- That's it for this section, please proceed down below.
- Whatsapp-Botto-Xre - 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 Xre PREFIX ! CRON 'null' SESSION_ID Any text you want but make sure to remember and don't share it ADMINS MONGO_URI YOUR CLUSTER URI EIF https://express-is-fun.herokuapp.com/api ADMIN_GROUP_JID
BOT_NAME
The name of the Bot
PREFIX
The Prefix of the Bot
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
SESSION_ID
A string to keep track of your session.
ADMINS
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
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. Profit!