Example case from Zenz Rest APIs for WhatsApp Bot
User must have zenz apikey to use this repo, register here to get apikey
This Script WhatsApp Bot Using Library Baileys & Script is free for everyone, not for Sale!
Windows Installation
Requirements:
- Download & Install Git
Click here
- Download & Install NodeJS
Click here
- Download & Install FFmpeg
Click here
Add FFmpeg to PATH environment variable
> git clone https://github.com/zhwzein/Killua-Zoldyck
> cd Killua-Zoldyck
> npm install
Termux Installation
Use Termux application from F-Droid, here is the link: https://f-droid.org/en/packages/com.termux/. Google Play variant is deprecated, doesn't receive updates and contains issues as well as outdated repository URLs.
- Download & Install Termux
Click here
> apt update && apt upgrade
> apt install git -y
> apt install nodejs -y
> apt install ffmpeg -y
> git clone https://github.com/zhwzein/Killua-Zoldyck
> cd Killua-Zoldyck
> pkg install yarn
> yarn add @adiwajshing/baileys
> yarn
Edit config.json
"APIs": {
"zenz": "https://zenzapis.xyz",
"apikey": "YOURAPIKEY"
},
"owner": [
"62812xxx"
],
Start BOT
1. For Multi Device
> npm run start
2. For Legacy
> npm run legacy
SCAN THE QR USING YOUR WHATSAPP!
Heroku Deployment
Requirements:
- NodeJS buildpack
- FFmpeg buildpack https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
Attention !
because many people spread the apiKey. then zenzapis applies a system IP, which is a certain ip that can only make requests.
How To Get IP access ?
- First you have to log in to zenzapis
- Then Go to the profile settings page
See there are 2 IP options, The first IP is your default Public IP Which is automatically replaced when you last signed in with the same ip or different.
Q: Then what is the second IP option for ?
A: The second option is only optional If you deploy BOT to Heroku or another server you have to use this option
How To Get IP From Heroku ?
-
The first way is to open http://api.ipify.org/ You will get Public IP there
-
The second way is to do the BOT command
-
Then Edit and update To Be Like This
-
And congratulations you have successfully obtained IP access, and the results:
Before | After |
---|---|
Available Features
Features | Availability |
---|---|
Anime Web | ✅here |
Convert | ✅here |
Creator | ✅here |
Database | ✅here |
Downloader | ✅here |
Entertainment | ✅here |
Group | ✅here |
Information | ✅here |
Islami | ✅here |
Main | ✅here |
More Nsfw | ✅here |
Nekos Life | ✅here |
News | ✅here |
Owner | ✅here |
Photo Editor | ✅here |
Primbon | ✅here |
Random Image | ✅here |
Random Text | ✅here |
Search | ✅here |
Stalker | ✅here |
Textmaker | ✅here |
Users | ✅here |
Webzone | ✅here |
Pull requests are welcome. Your contribution is helping me too
License: MIT