Reh4n / wbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PFP

Kaguya PublicBot

Use at your own risk!

JavaScript NodeJS discord.js

Build with Baileys and discord.js ( as a command handler )



Attention

This branch will be archived when WhatsApp has fully switched WhatsApp Web to Multi-Device.
Therefore, I have created a multi-device branch which supports Multi-Device, don't forget to have a look. wbot-md

Instalation

Fill in everything needed in the config.json file.

Require

  1. nodejs 16x
  2. FFMPEG
  3. libWebP

FFMPEG Instalation

  • 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

# ...

libWebP Instalation

  • For Windows User,
  1. Download libWebP for Windows. download.
  2. Extract to C:\
  3. Rename extracted folder to "libwebp" (without quote)
  4. on PowerShell
setx /m PATH "C:\libwebp\bin;%PATH%"
*if successful installed, SUCCESS: specified value was saved

*check webpmux version
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

# ...

Cloning this repo

# clone begin
git clone https://github.com/FaizBastomi/wbot.git

# change dir
cd wbot

# install npm dependencies
npm install

# run this project
node main.js
# or
npm start

About

License:MIT License


Languages

Language:JavaScript 99.8%Language:Dockerfile 0.2%Language:TypeScript 0.0%Language:Procfile 0.0%