Giter Club home page Giter Club logo

games-wabot's Introduction

Games-Wabot

Join Group Diskusi

Grup WhatsApp NO BOT

Deploy to Heroku

Deploy

Heroku Buildpack

BuildPack LINK
FFMPEG here
IMAGEMAGICK here

FOR TERMUX USER

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 ]

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 ]

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 ]

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
  • Download And Install NodeJS Click Here
  • Download And Install FFmpeg Click Here (Don't Forget Add FFmpeg to PATH enviroment variables)
  • Download And Install ImageMagick Click Here
git clone https://github.com/BochilGaming/games-wabot
cd games-wabot
npm install
npm update

Installing the FFmpeg

  • Download one of the FFmpeg versions here.
  • Extract file to C:\ path.
  • Rename the extracted folder to ffmpeg.
  • Run Command Prompt as Administrator.
  • Run the following command:
> setx /m PATH "C:\ffmpeg\bin;%PATH%"

If successful, it will give you a message like: SUCCESS: specified value was saved.

  • Now that you have FFmpeg installed, verify that it worked by running this command to see the version:
> ffmpeg -version

Run

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 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

conn.logger.level = 'trace'

--debug

conn.logger.level = 'debug'

--presence <Presence>

when the bot executes the command, the bot will type, record, etc.

Presence avaible: available, composing, recording, paused


want to contribute?

  1. fork this repository
  2. Change/edit/create what you want. for example you can add features, fix bug, etc
  3. test before making a pull req!!
  4. make a pull req!
  5. if your pull req is already in acc/merge, you can delete your branch or you can create pull req again :)

want to use multi-device (md)?

now games-wabot already support MD, but of course there are still many bugs and there are still many that have not been implemented,

use this branch if you want to use MD!


Thanks To

Allah SWT,

Orang Tua,

Semua yang selalu mendukung

Nurutomo BochilGaming

Contributor

idhamthoriqbot Adiixyz zatu22 arisawali2014 Nobuyaki unx21 botstylee qisyana ryznxx @dependabot[bot] itsmeR1F4I ZeroChanBot

games-wabot's People

Contributors

adiixyz avatar aiinne avatar arisawali2014 avatar bintangp02 avatar blueshiyt avatar bochilgaming avatar botstylee avatar byteswhisperer avatar dependabot[bot] avatar idhamthoriqbot avatar inirey avatar jauhariq avatar nobuyaki avatar ryznxx avatar toxic-devil avatar unx21 avatar uzoy avatar zerochanbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

games-wabot's Issues

Link Group Wa

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

LowDB?

Setuju gk pakek lowDB? :v

error scanqr code in heroku

WARN [2021-12-01 13:05:56.661 +0000] (17): connect attempt 2 failed: Error: bad rs block @ typeNumber:1/errorCorrectLevel:undefined, retrying...
2021-12-01T13:05:56.661592+00:00 app[web.1]: class: "Baileys"
2021-12-01T13:05:56.661593+00:00 app[web.1]: error: {}

Bug Pinterest

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Please add features, specific responses

Eng: Please Add a feature that only responds to my bot menu like in plugin.js menu outside of that there is no response, and this also reduces garbage or unimportant responses entering the terminal

ind: Tolong Tambahkan fitur yang hanya merespon menu bot saya seperti di menu plugin.js di luar itu tidak ada respons, dan ini juga mengurangi sampah atau respons tidak penting yang masuk ke terminal

Trimakasih Kepada Developer

cara matiin fitur call = block?

gw pake nih bot. pas gw pake, ada yg nelpon, eh malah kena block. gw takut itu terjadi sm ortu gw. masa tbtb diblock gitu. cara matiin nya gmn ya bang?

Pas yarn add lalu node . dan error

internal/modules/cjs/loader.js:311
throw err;
^

Error: Cannot find module '/data/data/com.termux/files/home/games-wabot/node_modules/@adiwajshing/baileys/lib/index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:303:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:516:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/data/data/com.termux/files/home/games-wabot/main.js:2:39)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32) {
code: 'MODULE_NOT_FOUND',
path: '/data/data/com.termux/files/home/games-wabot/node_modules/@adiwajshing/baileys/package.json',
requestPath: '@adiwajshing/baileys'
}
Exited with code: 1

Bug sending button message

ERROR SENDING BUTTON IMAGE
so i decided to add button message with image
headerType: 4 but suddenly i got error and error again i didn't know why the heck this can't run the image message button.

i try running it on vps and termux.

BaileysError: Unexpected status in 'action': Bad Request(400)
at WAConnection.query (/data/data/com.termux/files/home/games-wabot/node_modules/@adiwajshing/baileys/lib/WAConnection/0.Base.js:237:27)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async WAConnection.relayWAMessage (/data/data/com.termux/files/home/games-wabot/node_modules/@adiwajshing/baileys/lib/WAConnection/6.MessagesSend.js:315:13)
at async WAConnection.sendMessage (/data/data/com.termux/files/home/games-wabot/node_modules/@adiwajshing/baileys/lib/WAConnection/6.MessagesSend.js:25:9)
at async WAConnection.handler (/data/data/com.termux/files/home/games-wabot/handler.js:383:13) {
status: 400,
context: {
query: [ 'action', [Object], [Array] ],
message: 'Bad Request',
status: 400
}
}

then i try it on my desktop i got same error ๐Ÿ˜•

[NEW FEATURE] system bilangan

Fitur untuk melarang nomor wilayah yang tidak diinginkan. Ini juga berfungsi untuk mencegah memasukkan nomor palsu untuk crash grup.
Ini dapat bekerja seperti ini:
Jika seorang anggota dengan kode area dari wilayah yang berbeda bergabung dengan grup, dia secara otomatis dikeluarkan.
contoh:

jika nomor == (+55)
Jika orang yang bergabung dengan grup tidak memiliki kode area +55, mereka akan dikeluarkan.
Ini bisa mengganggu karena bot akan berada di banyak grup, jadi untuk menghindarinya tambahkan fitur "aktifkan pembatasan nomor" sehingga fungsi ini hanya akan aktif jika admin grup menginginkannya.

Terima kasih!

Heroku error

Idk why, but when i try to push heroku master it happens this:

image

Add Fitur

Add fitur traade and make item,,added some armor and effects, also features fishing and buying tools:)

Y

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Error

fitur wait error bang

Cara run bot replit

Bruh ada yg tau install modul imagemagick ffmpeg gimana si di replit soal gw install gak kebaca terus sama sekali

Eror pas npm i

npm ERR! prepareGitDep 1>
npm ERR! prepareGitDep > [email protected] postinstall /home/container/.npm/_cacache/tmp/git-clone-2fda08af/node_modules/protobufjs
npm ERR! prepareGitDep > node scripts/postinstall
npm ERR! prepareGitDep
npm ERR! prepareGitDep
npm ERR! prepareGitDep > @adiwajshing/[email protected] prepare /home/container/.npm/_cacache/tmp/git-clone-2fda08af
npm ERR! prepareGitDep > tsc
npm ERR! prepareGitDep
npm ERR! prepareGitDep node_modules/token-types/lib/index.d.ts(123,44): error TS2314: Generic type 'IGetToken' requires 1 type argument(s).
npm ERR! prepareGitDep node_modules/token-types/lib/index.d.ts(131,44): error TS2314: Generic type 'IGetToken' requires 1 type argument(s).
npm ERR! prepareGitDep
npm ERR! prepareGitDep 2> npm WARN install Usage of the --dev option is deprecated. Use --also=dev instead.
npm ERR! prepareGitDep npm ERR! code ELIFECYCLE
npm ERR! prepareGitDep npm ERR! errno 2
npm ERR! prepareGitDep npm ERR! @adiwajshing/[email protected] prepare: tsc
npm ERR! prepareGitDep npm ERR! Exit status 2
npm ERR! prepareGitDep npm ERR!
npm ERR! prepareGitDep npm ERR! Failed at the @adiwajshing/[email protected] prepare script.
npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! prepareGitDep
npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in:
npm ERR! prepareGitDep npm ERR! /home/container/.npm/_logs/2021-07-29T13_50_44_010Z-debug.log
npm ERR! prepareGitDep
npm ERR! premature close

npm ERR! A complete log of this run can be found in:
npm ERR! /home/container/.npm/_logs/2021-07-29T13_50_44_280Z-debug.log
Starting...
internal/modules/cjs/loader.js:888
throw err;
^

Error: Cannot find module 'cfonts'
Require stack:

  • /home/container/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
    at Function.Module._load (internal/modules/cjs/loader.js:730:27)
    at Module.require (internal/modules/cjs/loader.js:957:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object. (/home/container/index.js:6:17)
    at Module._compile (internal/modules/cjs/loader.js:1068:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/home/container/index.js' ]
    }

[NEW FEATURE] patent system

Sistem paten berdasarkan level.
misalnya:
Jika pengguna level 1 (0) dia adalah Peringkat Perunggu, dan saat dia naik level, peringkatnya meningkat, dengan demikian, Perunggu, Perunggu II, Perunggu III, dll...

Nonaktifkan fitur

Bikinin dong fitur seperti #disablefitur dan #enablefitur, kadang ada orang yang sering spam fitur di botku:)

Error

Fitur #sticker error bang padahal kemarin bisa

Cari polosan MD

Coy ada gak gitu SC polosan MD yang handler tepatnya base nuru yg udah MD soal buat gw kembangin yang polos banget pokoknya

QR generate terlalu cepat & qr jadi kecil

Halo kak, saya tibaยฒ mendapatkan masalah dalam QR-Gen. dimana qr menjadi sangat cepat refresh nya sekitar 3-5 detik dari 20detik
QR juga menjadi lebih kecil dari biasanya.

Tolong sarannya untuk memperbaiki masalah ini. saya sudah mencoba --big-qr tetapi tetap saja tidak bisa.

Sekian, untuk perhatiannya saya sampaikan Terimakasih

Error bot

Om, command menu ga bisa, trus pas w ketik ctrl + z & w jalanin ulang disuruh scan ulang, command menu ga muncul juga, solusi dong

TERMUX ERROR

[email protected] start
node index.js

Starting...
node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module 'cfonts'
Require stack:

  • /data/data/com.termux/files/home/games-wabot/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at Object. (/data/data/com.termux/files/home/games-wabot/index.js:6:17)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/data/data/com.termux/files/home/games-wabot/index.js' ]
    }

Can't Deploy On Heroku

-----> Building on the Heroku-20 stack
-----> Determining which buildpack to use for this app
-----> Node.js app detected

-----> Creating runtime environment

   NPM_CONFIG_LOGLEVEL=error
   NODE_VERBOSE=false
   NODE_ENV=production
   NODE_MODULES_CACHE=true

-----> Installing binaries
engines.node (package.json): unspecified
engines.npm (package.json): unspecified (use default)

   Resolving node version 14.x...
   Downloading and installing node 14.18.2...
   Using default npm version: 6.14.15

-----> Installing dependencies
Installing node modules (package.json)

   > @adiwajshing/[email protected] prepack /tmp/npmcache.zq3ML/_cacache/tmp/git-clone-f7adf1fa
   > tsc
   
   sh: 1: tsc: not found
   npm ERR! premature close
   
   npm ERR! A complete log of this run can be found in:
   npm ERR!     /tmp/npmcache.zq3ML/_logs/2021-12-10T03_51_58_379Z-debug.log

-----> Build failed

   We're sorry this build is failing! You can troubleshoot common issues here:
   https://devcenter.heroku.com/articles/troubleshooting-node-deploys
   
   Some possible problems:
   
   - Node version not specified in package.json
     https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
   
   Love,
   Heroku

! Push rejected, failed to compile Node.js app.
! Push failed

Tolong

Cara bikin handler.commands semua perintah gimna?

Gw gak bsa deploy bang eror mulu

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.