Skip to content

Latest commit

 

History

History
165 lines (110 loc) · 5.56 KB

README_eng.md

File metadata and controls

165 lines (110 loc) · 5.56 KB

Family-Bot

Deploy

Join Discussion Group

BOT DISCUSSION GROUP NO BOT

Bot Discussion Group

BOT DISCUSSION GROUP

INSTALLATION FOR WINDOWS/VPS/RDP USERS

  • Download & Install Git Click Here
  • Download & Install NodeJS Click Here
  • Download & Install FFmpeg Click Here (Don't Forget to Add FFmpeg to the PATH environment variable)
  • Download & Install ImageMagick Click Here
git clone https://github.com/Fokusdotid/Family-MD.git
cd Family-MD
npm i
node .

For Termux Users

$ pkg update && upgrade -y
$ apt update && upgrade -y
$ pkg install ffmpeg
$ pkg install nodejs-lts
$ pkg install git
$ git clone https://github.com/Fokusdotid/Family-MD.git
$ cd Family-MD
$ npm i
$ node .

FOR HEROKU USERS

Instal Buildpack

SETTINGS

To add or edit owner go to settings/owner.json Include sc source required!!

Make sure to read Q&A.txt in main folder okay


Arguments node . [--options] [<session name>]

--session <nama file>

using session from a different filename, default session.data.json

example file name family.json then use node . --session 'family'

--prefix <prefix>

  • prefixes separated by individual characters Set prefix

--server

Used for heroku or scan through website

--db <url mongodb kamu>

Open the package.json file and enter your mongodb url in the mongo: --db mongodb url section!

--db <json-server-url>

use external db instead of local db, recommended use mongodb

example server with mongodb mongodb+srv://<username>:<password>@name-of-your-db.thhce.mongodb.net/myFirstDatabase?retryWrites=true&w=majority

example server with repl https://json-server.nurutomo.repl.co/

code: https://repl.it/@Nurutomo/json-server

node . --db 'https://json-server.nurutomo.repl.co/'

the server must have specifications like this

GET

GET /
Accept: application/json

POST

POST /
Content-Type: application/json

{
 data: {}
}

--big-qr

If small unicode qr doesn't support

--img

Enable image checker via terminal

--test

Development Testing Mode

--trace

conn.logger.level = 'trace'

--debug

conn.logger.level = 'debug'

Thanks To

Allah SWT,

Orang Tua,

All Team Bot Discussion,

Every supporter

Special Thanks to

Nurutomo BochilGaming

Rewriter

Fokus ID

Collaborator

RHns M imam Adi Aniq