Skip to content

neoxr/neoxr-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

915 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NEOXR-BOT 5.0 (BASE)

A simple and lightweight WhatsApp bot script built for fast implementation. Its primary functions include downloading content from social media, basic group management features, and other essential utility operations directly through WhatsApp.

Forks Stars License NPM Downloads Issues

βŒ— PREMIUM SCRIPT V5.1-OPTIMA

🏷️ Price : Rp. 150.000 / $20.80

Special Features & Benefit :

  • Auto Download
  • Chatbot + Logic (Supp. Audio, Image, Video, etc)
  • 30+ Mini Games
  • RPG (Tournament, Battle Pet, Clan, etc)
  • Leveling & Roles
  • Captcha Verification
  • Email Verification
  • Send Email
  • Cloud Storage
  • Menfess w/ Session
  • Store Plugin (Product)
  • Bot Hosting (Jadibot Auto Reconnect)
  • WhatsApp Gateway "Wapify"
  • Mistery Box
  • Scheduler Message (Reminder)
  • Scheduler Ad Message
  • Plugin Model (ESM)
  • 700+ Commands Available
  • Clean Code
  • High Optimation
  • Free Updates
  • Bonus ApiKey 100K Request (for 1 year)

Note

Product link for more information and if you want to buy https://shop.neoxr.eu/product/TCnb / Wildan Izzuin / Channel

βŒ— REQUIREMENTS

  • NodeJS >= 20 (Recommended v20.18.1)
  • FFMPEG
  • Server vCPU/RAM 1/1GB (Min)

βŒ— SERVER

βŒ— CLOUD DATABASE

Important

Database setup tutorial, choose based on language : ID | EN

βŒ— CONFIGURATION

Configuration of this script consists of two files: config.json and .env.

{
   "owner": "6285xxxxxxxx",
   "owner_name": "Wildan Izzudin",
   "database": "data",
   "limit": 15, // Usage limit (default: 15)
   "ram_limit": "900mb",
   "max_upload": 50, // File size limit for premium users (default: 50mb)
   "max_upload_free": 25, // File size limit for free users (default: 25mb)
   "cooldown": 3, // Anti-spam hold (default: 3s)
   "timer": 180000,
   "timeout": 1800000,
   "permanent_threshold": 3,
   "notify_threshold": 4,
   "banned_threshold": 5,
   "blocks": ["994", "91", "92"],
   "evaluate_chars":  ["=>", "~>", "<", ">", "$"],
   "pairing": {
      "state": true,  // Set to "true" if you want to use the pairing code dan "false" to use scan qr
      "number": 6285xxxxxxxx, // Your bot number
      "code": "NEOXRBOT" // Custom pairing code
   }
}
### Neoxr API : https://api.neoxr.my.id
API_KEY = ''

### Database (Mongo, PostgreSQL, MySQL, Redis) β€” leave empty for local (JSON)
DATABASE_URL = ''

### Timezone (Important)
TZ = 'Asia/Jakarta'

βŒ— INSTALATION & RUN

Make sure the configuration and server meet the requirements so that there are no problems during installation or when this bot is running, type this on your console (linux) :

$ bash install.sh

to run in it, type this :

$ pm2 start pm2.config.cjs && pm2 logs neoxr

Note

I don't know how to use Windows bacause I'm Linux user, so I didn't create files for installation on Windows :v

βŒ— INSTALATION & RUN (DOCKER)

$ sudo apt update -y && sudo apt install curl -y
$ curl -fsSL https://get.docker.com | bash
$ git clone https://github.com/neoxr/neoxr-bot
$ cd neoxr-bot
$ docker build -t bot .
$ docker run -d --name neoxr bot && docker logs -f neoxr

How to stop ?

$ docker stop neoxr

βŒ— DATABASE ADVANCE METHOD

// .all() --- Get all data entry from the array
=> global.db.users.all()

// .get() --- Find a single data entry from the array by jid, lid, id, or _id
=> global.db.users.get(jid)

// .delete() --- Delete a single data entry from the array by jid, lid, id, or _id
=> global.db.users.delete(jid)

// .drop() --- Drops a collection of object or array data
=> global.db.users.drop() // --- Array
=> global.db.statstic.drop() // --- Object

// Chainable Method
=> global.db.bots(jid)?.data?.users.get(jid)

Important

To add new data to global.db (e.g., global.db.reports), add data structure in the structure() block method in models.js.

βŒ— TROUBLESHOOTING (BAILEYS)

If you encounter issues or get stuck using npm:neoxr/baileys, consider using one of the alternative Baileys packages listed below.

─ All fixed and more advance features modified by @itsliaaa (Stable) ~ Documentation

"baileys": "npm:@itsliaaa/baileys"

─ Fix connection modified by @MichelleBot (Stable) ~ Documentation

"baileys": "git+https://github.com/MichelleBot/baileys.git"

─ Only add StickerPack function and overhaul resource usage on connection. (Experiment Only :v)

"baileys": "git+https://github.com/neoxr/baileys.git"

─ Original Baileys by @WhiskeySockets

"baileys": "git+https://github.com/whiskeySockets/Baileys.git"

Important

Check this repository regularly to get updates because the progress base is not 100% yet (this is just a base or beta test), if you find an error please make an issue. Thanks.

About

Baileys WhatsApp Bot

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors

Languages