Run the following commands to clone the repo
> git clone https://github.com/AliAryanTech/Chisato-WhatsApp
> cd Chisato-WhatsApp
Run this following command to install the dependencies
> yarn install
Rename the file .env.example
to .env
and fill the missing fields
PREFIX=PREFIX_OF_THE_BOT
BOT_NAME=NAME
CHAT_BOT_URL=YOUR_API_FROM_BRAINSHOP
SESSION=YOUR_SESSION
MONGO_URI=YOUR_CLUSTER_URI
MODS=BOT_ADMINS_NUMBER (should be seperated by a comma and a space)
PREFIX
: Prefix of the botBOT_NAME
: Name of the botCHAT_BOT_URL
: API key from BrainshopMONGO_URI
: A secret String for MongoDB connection. (Required)MODS
: Number of the users who should be the admins of the bot (should be in international format without "+" and multiple numbers must be separated by a comma ", ")SESSION
: Session of the bot
> yarn start
Running the above command will start the bot. To authenticate scan the QR which shows up in the terminal or the link which is logged when the QR event fires using the WA-Web Scanner on your WhatsApp. Now you're on your own. Good Luck!