A comprehensive, step-by-step guide to configure and deploy your Discord AntiNuke Selfbot
Before proceeding with installation, ensure you have the following prerequisites
The selfbot requires Node.js v16.0.0 or higher to function properly. Install the latest LTS version for optimal performance.
A Discord account token is required. For security reasons, we recommend using an alternative account rather than your main one.
You'll need the IDs of Discord servers you want to protect, as well as your own user ID and IDs of trusted administrators.
Tip: Enable Developer Mode in Discord settings to easily copy IDs by right-clicking.
Follow these steps carefully to install and configure your Discord AntiNuke Selfbot
Clone the official repository or download it as a ZIP file and extract it.
git clone https://github.com/faiz4sure/discord-antinuke-selfbot.git
cd discord-antinuke-selfbot
Use npm to install all required packages for the AntiNuke selfbot.
npm install
Edit the config/config.yaml
file with your personal information. This is the most critical step in ensuring the selfbot protects the right servers and responds to the right owners.
IMPORTANT: Never share your token with anyone! It provides full access to your Discord account.
To get your Discord token:
/api
in the filter fieldselfbot:
token: 'YOUR_DISCORD_TOKEN_HERE' # Your account token
server1_id: '111222333444555666' # First server to protect
server2_id: '222333444555666777' # Second server to protect (optional)
owner1_id: '123456789012345678' # Your Discord user ID
owner2_id: '234567890123456789' # Another owner ID (optional)
antinuke_settings:
punishment: 'ban' # Options: 'ban', 'kick', or 'none'
auto_recovery: true # Automatically recover channels and roles
recover_channels: true # Recover deleted channels
recover_roles: true # Recover deleted roles
recovery_delay: 1500 # Milliseconds to wait between recoveries
# PROTECTION THRESHOLDS
ban_limit: 5 # Triggers if someone bans 5+ people quickly
kick_limit: 5 # Triggers if someone kicks 5+ people quickly
channel_create_limit: 5 # Triggers if someone creates 5+ channels quickly
role_create_limit: 5 # Triggers if someone creates 5+ roles quickly
channel_delete_limit: 5 # Triggers if someone deletes 5+ channels quickly
role_delete_limit: 5 # Triggers if someone deletes 5+ roles quickly
channel_update_limit: 5 # Triggers if someone changes 5+ channels quickly
role_update_limit: 5 # Triggers if someone changes 5+ roles quickly
member_update_limit: 5 # Triggers if someone changes 5+ members quickly
unban_limit: 5 # Triggers if someone unbans 5+ people quickly
# TIME WINDOW FOR COUNTING ACTIONS (IN MILLISECONDS)
# 36000000 = 10 hours, 3600000 = 1 hour, 600000 = 10 minutes
time_window: 36000000
whitelisted:
users: ['123456789012345678', '234567890123456789'] # Trusted admin IDs
Start the selfbot to begin protecting your Discord servers.
node index.js
For continuous protection, the selfbot needs to run 24/7. Here's how to keep it running on different platforms.
Process Manager 2 (PM2) is the best way to keep your selfbot running continuously.
# Install PM2 globally
npm install -g pm2
# Start your application with PM2
pm2 start index.js --name 'antinuke'
# Set PM2 to start on system boot
pm2 startup
pm2 save
Using selfbots violates Discord's Terms of Service. This project is shared for educational purposes only. You assume all responsibility and risk associated with using this software.
By downloading and using this selfbot:
This repository is officially owned by faiz4sure. Always obtain software from the official repository to ensure security and reliability.
Get started with the AntiNuke Selfbot today and protect your Discord community.