-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3d15224
Showing
159 changed files
with
119,796 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: node . --server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
# Games-Wabot | ||
|
||
<a href="https://github.com/BochilGaming/games-wabot/network/members"><img title="Forks" src="https://img.shields.io/github/forks/BochilGaming/games-wabot?label=Forks&color=blue&style=flat-square"></a> | ||
<a href="https://github.com/BochilGaming/games-wabot/watchers"><img title="Watchers" src="https://img.shields.io/github/watchers/BochilGaming/games-wabot?label=Watchers&color=green&style=flat-square"></a> | ||
<a href="https://github.com/BochilGaming/games-wabot/stargazers"><img title="Stars" src="https://img.shields.io/github/stars/BochilGaming/games-wabot?label=Stars&color=yellow&style=flat-square"></a> | ||
<a href="https://github.com/BochilGaming/games-wabot/graphs/contributors"><img title="Contributors" src="https://img.shields.io/github/contributors/BochilGaming/games-wabot?label=Contributors&color=blue&style=flat-square"></a> | ||
<a href="https://github.com/BochilGaming/games-wabot/issues"><img title="Issues" src="https://img.shields.io/github/issues/BochilGaming/games-wabot?label=Issues&color=success&style=flat-square"></a> | ||
<a href="https://github.com/BochilGaming/games-wabot/issues?q=is%3Aissue+is%3Aclosed"><img title="Issues" src="https://img.shields.io/github/issues-closed/BochilGaming/games-wabot?label=Issues&color=red&style=flat-square"></a> | ||
<a href="https://github.com/BochilGaming/games-wabot/pulls"><img title="Pull Request" src="https://img.shields.io/github/issues-pr/BochilGaming/games-wabot?label=PullRequest&color=success&style=flat-square"></a> | ||
<a href="https://github.com/BochilGaming/games-wabot/pulls?q=is%3Apr+is%3Aclosed"><img title="Pull Request" src="https://img.shields.io/github/issues-pr-closed/BochilGaming/games-wabot?label=PullRequest&color=red&style=flat-square"></a> | ||
|
||
|
||
## Join Group Diskusi | ||
[](https://chat.whatsapp.com/GVwpKf83s42D1CnIfDW19G) | ||
**NO BOT** | ||
|
||
|
||
#### Deploy to Heroku | ||
[](https://heroku.com/deploy?template=https://github.com/BrunoSobrino/SimpleBot) | ||
|
||
#### Heroku Buildpack | ||
| BuildPack | LINK | | ||
|--------|--------| | ||
| **FFMPEG** |[here](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest) | | ||
| **IMAGEMAGICK** | [here](https://github.com/DuckyTeam/heroku-buildpack-imagemagick) | | ||
|
||
### FOR TERMUX USER | ||
```bash | ||
pkg update && pkg upgrade | ||
pkg install bash && pkg install wget | ||
wget -O - https://raw.githubusercontent.com/BochilGaming/games-wabot/main/install2.sh | bash | ||
``` | ||
|
||
--------- | ||
|
||
## INSTALL ON TERMUX WITH UBUNTU | ||
|
||
[ INSTALLING UBUNTU ] | ||
|
||
```bash | ||
apt update && apt full-upgrade | ||
apt install wget curl git proot-distro | ||
proot-distro install ubuntu | ||
echo "proot-distro login ubuntu" > $PREFIX/bin/ubuntu | ||
ubuntu | ||
``` | ||
--------- | ||
|
||
[ INSTALLING REQUIRED PACKAGES ] | ||
|
||
```bash | ||
ubuntu | ||
apt update && apt full-upgrade | ||
apt install wget curl git ffmpeg imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev dbus-x11 ffmpeg2theora ffmpegfs ffmpegthumbnailer ffmpegthumbnailer-dbg ffmpegthumbs libavcodec-dev libavcodec-extra libavcodec-extra58 libavdevice-dev libavdevice58 libavfilter-dev libavfilter-extra libavfilter-extra7 libavformat-dev libavformat58 libavifile-0.7-bin libavifile-0.7-common libavifile-0.7c2 libavresample-dev libavresample4 libavutil-dev libavutil56 libpostproc-dev libpostproc55 graphicsmagick graphicsmagick-dbg graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat groff imagemagick-6.q16hdri imagemagick-common libchart-gnuplot-perl libgraphics-magick-perl libgraphicsmagick++-q16-12 libgraphicsmagick++1-dev | ||
``` | ||
|
||
--------- | ||
|
||
[ INSTALLING NODEJS & GAMES-WABOT ] | ||
|
||
```bash | ||
ubuntu | ||
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash - | ||
apt install -y nodejs gcc g++ make | ||
git clone https://github.com/BochilGaming/games-wabot | ||
cd games-wabot | ||
npm install | ||
npm update | ||
``` | ||
|
||
--------- | ||
|
||
## FOR WINDOWS/VPS/RDP USER | ||
|
||
* Download And Install Git [`Click Here`](https://git-scm.com/downloads) | ||
* Download And Install NodeJS [`Click Here`](https://nodejs.org/en/download) | ||
* Download And Install FFmpeg [`Click Here`](https://ffmpeg.org/download.html) (**Don't Forget Add FFmpeg to PATH enviroment variables**) | ||
* Download And Install ImageMagick [`Click Here`](https://imagemagick.org/script/download.php) | ||
|
||
```bash | ||
git clone https://github.com/BochilGaming/games-wabot | ||
cd games-wabot | ||
npm install | ||
npm update | ||
``` | ||
|
||
--------- | ||
|
||
## Run | ||
|
||
```bash | ||
node . | ||
``` | ||
|
||
--------- | ||
|
||
## Arguments `node . [--options] [<session name>]` | ||
|
||
### `--self` | ||
|
||
Activate self mode (Ignores other) | ||
|
||
### `--pconly` | ||
|
||
If that chat not from private bot, bot will ignore | ||
|
||
### `--gconly` | ||
|
||
If that chat not from group, bot will ignore | ||
|
||
### `--swonly` | ||
|
||
If that chat not from status, bot will ignore | ||
|
||
### `--prefix <prefixes>` | ||
|
||
* `prefixes` are seperated by each character | ||
Set prefix | ||
|
||
### `--server` | ||
|
||
Used for [heroku](https://heroku.com/) or scan through website | ||
|
||
### `--big-qr` | ||
|
||
If small qr unicode doesn't support | ||
|
||
### `--restrict` | ||
|
||
Enables restricted plugins (which can lead your number to be **banned** if used too often) | ||
|
||
* Group Administration `add, kick` | ||
|
||
### `--img` | ||
|
||
Enable image inspector through terminal | ||
|
||
### `--autoread` | ||
|
||
If enabled, all incoming messages will be marked as read | ||
|
||
### `--nyimak` | ||
|
||
No bot, just print received messages and add users to database | ||
|
||
### `--test` | ||
|
||
**Development** Testing Mode | ||
|
||
### `--trace` | ||
|
||
```js | ||
conn.logger.level = 'trace' | ||
``` | ||
|
||
### `--debug` | ||
|
||
```js | ||
conn.logger.level = 'debug' | ||
``` | ||
|
||
--------- | ||
|
||
|
||
### Thanks To | ||
**Allah SWT** | ||
|
||
[](https://github.com/Nurutomo) | ||
[](https://github.com/BochilGaming) | ||
|
||
#### Contributor | ||
[](https://github.com/idhamthoriqbot) | ||
[](https://github.com/zatu22) | ||
[](https://github.com/Adiixyz) | ||
[](https://github.com/Nobuyaki) | ||
[](https://github.com/arisawali2014) | ||
[](https://github.com/botstylee) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "SimpleBot", | ||
"description": "Subscribete a The Shadow Borkers (≧▽≦)", | ||
"repository": "https://github.com/BrunoSobrino/SimpleBot", | ||
"logo": "https://raw.githubusercontent.com/BrunoSobrino/SimpleBot/master/Menu2.jpg", | ||
"keywords": ["java", "bot", "whatsapp-bot", "whatsapp-automation"], | ||
"buildpacks": [ | ||
{ | ||
"url": "heroku/nodejs" | ||
}, | ||
{ | ||
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git" | ||
}, | ||
{ | ||
"url": "https://github.com/DuckyTeam/heroku-buildpack-imagemagick.git" | ||
}, | ||
{ | ||
"url": "https://github.com/clhuang/heroku-buildpack-webp-binaries.git" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
global.DeveloperMode = 'false' | ||
global.linkGC = [] | ||
global.owner = ['5219996125657'] | ||
global.mods = [] | ||
global.prems = [] | ||
global.APIs = { | ||
nrtm: 'https://nurutomo.herokuapp.com', | ||
xteam: 'https://api.xteam.xyz', | ||
nzcha: 'http://nzcha-apii.herokuapp.com', | ||
bg: 'http://bochil.ddns.net', | ||
fdci: 'https://api.fdci.se', | ||
dzx: 'https://api.dhamzxploit.my.id', | ||
zahir: 'https://zahirr-web.herokuapp.com', | ||
zeks: 'https://api.zeks.xyz', | ||
pencarikode: 'https://pencarikode.xyz' | ||
} | ||
global.APIKeys = { | ||
'https://api.xteam.xyz': 'd90a9e986e18778b', | ||
'https://zahirr-web.herokuapp.com': 'zahirgans', | ||
'https://api.zeks.xyz': 'apivinz', | ||
'https://pencarikode.xyz': 'pais' | ||
} | ||
|
||
global.packname = 'wa.me/6285713964963' | ||
global.author = 'Metro Bot Is The Best' | ||
global.multiplier = 9999 | ||
|
||
let fs = require('fs') | ||
let chalk = require('chalk') | ||
let file = require.resolve(__filename) | ||
fs.watchFile(file, () => { | ||
fs.unwatchFile(file) | ||
console.log(chalk.redBright("Update 'config.js'")) | ||
delete require.cache[file] | ||
require(file) | ||
}) |
Oops, something went wrong.