Note: This repository is a collection of Discord bots (Discord.js v13 based) and related server assets. The original repo contains a Turkish README. This English README is a complete, detailed, and Ubuntu-focused guide for developers who want to install, configure, and run the bots.
- Project Overview
- File & Folder Structure
- Prerequisites
- Ubuntu Installation Guide
- Configuration
- Running the Bots
- Development & Structure Notes
- Troubleshooting
- Security & Ethics
- Contributing
- License & Credits
This repository collects multiple Discord bots written with Discord.js v13. The project is designed to be run in a server environment (preferred OS: Ubuntu 22.04 or higher) with a local MongoDB instance. Each bot resides under the /Server directory, while shared configurations and global modules are stored under /Global.
The main configuration file for system-wide settings is located here:
/Global/Settings/system.json
This file defines critical values for the bots such as:
- Database connection details
- API tokens
- Prefixes and default values
- Other global configuration parameters
v13-all-bots/
│
├── Global/ # Shared settings and utilities
│ └── Settings/
│ └── system.json # Main configuration file
│
├── Server/ # Contains the actual bot implementations
│ ├── Bot1/
│ ├── Bot2/
│ └── ...
│
├── Assets/ # Static files, images, or emoji packs
├── ecosystem.config.js # PM2 process manager configuration
├── package.json # Node.js dependencies and scripts
├── package-lock.json
└── LICENSE
Before installing, ensure the following:
- Ubuntu 22.04 LTS or higher (recommended)
- Node.js (LTS version, 17.x or 20.x)
- npm (comes with Node.js)
- Git
- MongoDB (local server instance, required)
- PM2 (for production process management)
Follow these steps on a fresh Ubuntu 22.04+ server:
sudo apt update && sudo apt upgrade -y
sudo apt install -y git curl build-essentialcurl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejsVerify installation:
node -v
npm -vsudo apt install -y mongodb
sudo systemctl enable mongodb
sudo systemctl start mongodbVerify MongoDB is running:
sudo systemctl status mongodbsudo npm install -g pm2git clone https://github.com/acarfx/v13-all-bots.git
cd v13-all-botsnpm installThe main configuration is stored in:
/Global/Settings/system.json
Open this file and fill in values such as:
{
"SERVER": {
"ID": "Sunucu ID (Server ID)",
"Name": "",
"Install": false
},
"PACKAGE": {
"Type": "FULL",
"Name": "Ruby VIP+",
"Desc": "Bu paket tüm özellikleri ve tüm sistemleri kapsamaktadır.",
"Status": true,
"Price": 1000,
"StartAt": 1664856195288,
"LastPayment": 1666581165742,
"Payments": [
{
"Id": 1,
"Price": 1000,
"Type": "FULL",
"Date": 1664856195288,
"Payment": "BAŞLANGIÇ"
}
]
},
"TOKENS": {
"Statistics": "",
"Voucher":"",
"SYNC": "",
"CONTROLLER": "",
"SECURITY": {
"MAIN": "",
"SEC_ONE": "",
"SEC_TWO": "",
"DISTS": []
},
"WELCOME": {
"Active": false,
"WELCOMES": [],
"WELCOME_CHANNELS": []
}
},
"botSettings": {
"Prefixs": [
".",
"+",
"!",
"/",
"-",
"?",
"="
]
},
"Webclient": {
"clientID": "994580677670477915",
"secret": "I-k7cVzwuMIGNnHyhC4nrL3TBk1n_tnQ",
"callbackURL": "http://91.151.83.169:4939/callback"
},
"botStatus": {
"Status": "dnd",
"Name": "xd ⚚ Creatéd by ΛCΛR"
},
"Database": {
"Active": true,
"MongoURL": "mongodb://127.0.0.1/ictimsarabisiktimarabi"
}
}
⚠️ Always keep your tokens and database credentials secret.
If .env support exists in the codebase, you may also place secrets in a .env file.
node Server/index.jsor if defined in package.json:
npm run devUsing the provided ecosystem.config.js:
pm2 start ecosystem.config.js
pm2 saveCheck status:
pm2 listLogs:
pm2 logs- `` contains the bots (likely modular commands and event systems).
- `` provides shared configuration and helpers.
- system.json is the single source of truth for configuration.
- MongoDB is required locally; no cloud setup is enforced but you may adapt.
- Uses Discord.js v13 — consider upgrading to v14 for future development.
- Bot not starting? Check that
system.jsoncontains the correctDISCORD_TOKEN. - MongoDB connection error? Ensure MongoDB is running locally and
MONGO_URIis correct. - Missing dependencies? Run
npm installagain. - High RAM usage? Limit the number of bots running simultaneously or optimize event handling.
- Keep your Discord bot tokens secret.
- Never commit real tokens to GitHub.
- Use these bots responsibly; do not engage in spam, abuse, or TOS-violating behavior.
- Fork this repository
- Create a feature branch
- Commit your changes clearly
- Open a Pull Request
- License: MIT — see
LICENSE - Author: acarfx
- Repository: v13-all-bots
✅ You are now ready to run and manage the bots on Ubuntu 22.04+ with a local MongoDB instance.