Build with Baileys and discord.js ( as a command handler )
Untuk instalasi bahasa Indonesia lihat disini
- Support Both Legacy and Multi-Device Conneciton
- Features rich
- Easy to maintenance
For a to do list, see here #1
Rename config.json.example
to config.json
or create new file called config.json
.
Fill in everything needed in the config.json
file (follow config.json.example
).
OpenWeather API get from openweathermap.org.
- For Windows User, you can see this website, WikiHow.
- For Linux User, you can use your own package manager, below are for example
# apt
apt install ffmpeg -y
# pacman
pacman -S ffmpeg
- For Windows User,
- Download libWebP for Windows. download.
- Extract to C:\
- Rename extracted folder to
libwebp
- on PowerShell
setx /m PATH "C:\libwebp\bin;%PATH%"
if libWebP properly isntalled. Check it with this command in Command Prompt
webpmux -version
- For Linux User, you can use your own package manager, below for example
# apt
apt install libwebp-dev -y
# pacman
pacman -S libwebp
# clone begin
git clone https://github.com/FaizBastomi/wbot.git --branch "multi-device"
# change dir
cd wbot
# install npm dependencies
npm install
# in case @adiwajshing/baileys not compiled automatic
cd ./node_modules/@adiwajshing/baileys
npm install --global typescript # run as root/administrator
npm run build:tsc
Start and Scan QR
- MD Connection
npm run start
- Legacy Connection
npm run legacy