MADE BY @SYZDARK
Hello There Again! Im @syzdark Known as the developer of VoxelCord Im Here to show u another side project Again Lol
- Open your web browser and go to https://nodejs.org.
- You will see two versions:
- LTS (Long-Term Support) – Recommended for most users (stable).
- Current – Has the latest features but may be less stable.
- Click LTS to download the installer (
.msifile).
- Open the downloaded
.msifile. - Click Next and accept the License Agreement.
- Choose the installation path (default is fine).
- Ensure "Add to PATH" is checked (this allows you to use Node.js in the command prompt).
- Click Install and wait for the installation to finish.
- Click Finish once done.
- Open Command Prompt (Press
Win + R, typecmd, and hit Enter). - Type the following command and press Enter:
node -v
- This should display the installed Node.js version (e.g.,
v18.17.1).
- This should display the installed Node.js version (e.g.,
- Check if npm (Node Package Manager) is installed by typing:
npm -v
- It should return a version number (e.g.,
9.6.7).
- It should return a version number (e.g.,
Press Win + R, type cmd, and hit Enter to open Command Prompt.
Before installing dependencies, create a project folder and initialize a Node.js project:
mkdir my-node-project
cd my-node-project
npm init -yThis will create a package.json file for your project.
Now, install the required dependencies using npm install:
npm install discord.js- This installs the discord.js library for interacting with the Discord API.
npm install dgram- This installs dgram, which is used for working with UDP sockets.
- crypto is built into Node.js, so you don’t need to install it separately.
- You can import it directly in your JavaScript file like this:
const crypto = require('crypto');
Check the node_modules folder to confirm that discord.js and dgram were installed.
You can also list installed packages with:
npm list --depth=0It should show discord.js and dgram.
If you have an Ubuntu-based VPS, follow these steps to install Node.js, npm, and your required dependencies (discord.js, dgram).
Use SSH to connect to your VPS. Open Command Prompt (Windows) or Terminal (Mac/Linux) and run:
ssh username@your-vps-ip- Replace
usernamewith your VPS username. - Replace
your-vps-ipwith the actual VPS IP address.
If it's your first time connecting, type yes and press Enter to continue.
sudo apt update && sudo apt upgrade -y
sudo apt install nodejs npm -y- Check installed versions:
node -v npm -v
- The version might be outdated. If you need the latest version, use Option 2.
- Add NodeSource repository for the latest LTS (18.x) version:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt install -y nodejs - Verify installation:
node -v npm -v
- Create a project folder and navigate into it:
mkdir my-project && cd my-project
- Initialize a Node.js project:
npm init -y
- Install required dependencies:
npm install discord.js dgram
- Since
cryptois built into Node.js, you don’t need to install it. Just require it in your script:const crypto = require('crypto');
If you have a script file like bot.js, run it with:
node bot.jsHowever, if you close the terminal, the bot will stop running. To keep it running in the background, use one of these methods:
nohup node bot.js > output.log 2>&1 &- This keeps your bot running even after logging out.
- Install PM2 globally:
npm install -g pm2
- Start your bot with PM2:
pm2 start bot.js
- Make PM2 auto-start on reboot:
pm2 save pm2 startup
If your bot uses UDP (for dgram) or HTTP/WebSockets, allow the required ports:
Example:
sudo ufw allow 3000/tcp # Allow HTTP server on port 3000
sudo ufw allow 443/tcp # Allow HTTPS
sudo ufw allow 22/tcp # Allow SSH (Important!)
sudo ufw enable # Enable firewallNexus Reaper Summary: 10 GB per second 600 GB per minute 36 TB per hour
Astral REAPER Summary: Per Second: 650 MB Per Minute: 39 GB Per Hour: 2.34 TB