How to run on your own hosting
Run the following code to clone the repo
> git clone https://github.com/Paiiss/bot-wa.git
> cd bot-wa
Run this to install the depencencies
> npm i
Edit the config in the app.json file (already contains a description for each key)
"env": {
"MONGODB_URL": {
"description": "Mongo DB url (required)",
"value": "mongodb+srv://allen:[email protected]/wa-bot"
},
"PREFIX": {
"description": "Prefix of bot",
"value": "!"
},
"LOLHUMAN_KEY": {
"description": "LoL Human Apikey (https://api.lolhuman.xyz/)",
"value": "apikey"
},
"GROUP_ID": {
"description": "For send bot report",
"value": "6285805609094-1635319627@g.us"
},
"BOT_NAME": {
"description": "Bot Name",
"value": "Allen Bot"
},
"TIME_ZONE": {
"description": "Time Zone Bot",
"value": "Asia/Jakarta"
},
"FOOTER": {
"description": "Footer of bot",
"value": "AllenBot • Paiiss"
},
"LINK_GROUP": {
"description": "Link Your Group Support",
"value": "https://chat.whatsapp.com/CktCFlTbTiMLq5K4fgIidd"
}
}
npm start
Running the above command will run the bot process, the Qr code will come out in the terminal the first time it is run
Set up on Heroku