> pkg update && pkg upgrade
> pkg install git -y
> pkg install nodejs -y
> pkg install ffmpeg -y
Download ffmpeg
and set pathDownload Node JS
Download Git
> apt-get update && apt-get upgrade
> apt install git -y
> apt install nodejs -y
> apt install ffmpeg -y
> git clone https://github.com/LoL-Human/Case-WA-MD.git
> cd Case-WA-MD
> npm i
- Rename
config.json.example
toconfig.json
- Edit the required value in
config.json
. You can get the apikey atLoL Human Rest API
.
{
"botName": "LoL Human Bot", // name of bot
"ownerName": "LoL Human", // owner name, you should add your name
"ownerNumber": ["[email protected]"], // owner number, you should add your number
"sessionName": "lolhuman", // will be lolhuman-session
"apikey": "" // get apikey on my website (https://api.lolhuman.xyz/)
}
> npm start
- You can help me add case by doing pull requests.