GithubHelp home page GithubHelp logo

s3th-0 / rpg-wabot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ofcgabrielhrz/rpg-wabot

0.0 0.0 0.0 2.22 MB

simple rpg games whatsapp bot

License: GNU General Public License v3.0

Shell 0.50% JavaScript 99.32% CSS 0.01% HTML 0.14% Dockerfile 0.04% Procfile 0.01%

rpg-wabot's Introduction

rpg-wabot

Join Group Bot

Grup WhatsApp Group Bot

Settings owner and apikey

Change here

global.owner = ['436504000095123'] // change your number
global.mods = ['84589488115'] // you need moderator? 

Change apikey

global.APIKeys = { 
  // 'https://website': 'apikey'
  'https://api.xteam.xyz': 'APIKEYLU', //register di api.xteam.xyz kalau mau limitnya banyak
  'https://zahirr-web.herokuapp.com': 'zahirgans',
  'https://api.zeks.xyz': 'apivinz', //register di api.zeks.xyz kalau mau limitnya banyak
  'https://pencarikode.xyz': 'pais',
  'http://hardianto-chan.herokuapp.com': 'hardianto',
  'https://leyscoders-api.herokuapp.com': 'dappakntlll'
}

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/DarknessNightmare/rpg-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 & rpg-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/DarknessNightmare/rpg-wabot
cd rpg-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/DarknessNightmare/rpg-wabot
cd rpg-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


Thanks To

Allah SWT,

Orang Tua,

Semua yang selalu mendukung

Nurutomo BochilGaming DarknessNightmare

Contributor

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

rpg-wabot's People

Contributors

darknessnightmare avatar

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.