xDefender Documentation
Advanced Security Bot for Discord Servers
Welcome to the xDefender documentation! xDefender is a powerful bot providing modular security protections against raids, spam, malicious links, and more. All interactions are handled via slash commands.
📈 Statistics
Protected Servers...
Protected Users...
Active Channels...
API Latency...
🛡️ Current Status
StatusOnline & Operational
Versionv3.1
StatusAccess Bot Customizable
StatusFree
Commands
All features are accessible via slash commands (e.g. /config
, /help
, /wh add
).
General Commands
/help
Show the help menu with all available commands
/bot-info
Displays bot status, version, and uptime
/config
Modify all bot settings: protection modules, rate limits, logging, whitelist, and more
Whitelist & Blacklist Management
/wh
Manage whitelisted users. Only server owners can add via /wh add
/wh add
Add a user to the whitelist. Only available to server owners
/wh list
List all whitelisted users
/wh rm
Remove a user from the whitelist. Only available to server owners
/bl
Manage blacklist settings to block users
/bl add
Add a user to the blacklist to block them from using bot commands
/bl list
List all blacklisted users
/bl rm
Remove users from the blacklist && unban them
System Information
Technical details about xDefender
⚙️ Technical Stack
Discord.js Versionv14.23.2
PlatformLinux
Bot Versionv3.1
📊 Server Statistics
Total Servers...
Total Users...
Active Channels...
Configuration
Complete configuration guide for all xDefender modules
🌍 Multi-Language Support
xDefender supports multiple languages for better accessibility and user experience.
The bot interface and responses are available in:
🇫🇷 Français
Interface complète en français avec toutes les commandes et messages traduits
🇬🇧 English
Full English interface with all commands and messages in English
🇪🇸 Español
Interfaz completa en español con todos los comandos y mensajes traducidos
🇩🇪 Deutsch
Vollständige deutsche Benutzeroberfläche mit allen Befehlen und Nachrichten übersetzt
✓ Language Selection: Use /config language
to change the bot's language
🌐 Auto-Detection: The bot can automatically detect server language preferences
Anti-Spam Configuration
🚫 Anti-Spam Protections
xDefender's Anti-Spam system lets you configure advanced protections against spam, links, and unwanted invites.
You can also customize rate limits and allow spam in selected channels.
Spam Detection
Automatically detects and blocks users sending messages too fast. Ideal to prevent flood or raid attempts or MassPing or GhostPing.
Invite Link Blocker
Blocks Discord invite links across the server. Helps prevent users from promoting other servers.
Malicious Link Filter
Detects and removes suspicious or harmful URLs, including scam links and trackers.
Message Rate Limit
Customize how many messages a user can send per second. Useful to prevent spam while allowing active users to chat.
Whitelisted Channels
Exclude specific channels from anti-spam checks. Perfect for self-promotion, bot commands, or high-traffic areas.
Anti-Double Account
Detects and prevents users from joining with multiple accounts. Helps maintain server integrity and prevent abuse.
✓ Access Level: You have access to all protections in this category
🔒 Requirement: Requires whitelist/owner access
AutoMod Configuration
🤖 AutoMod Protections
Configure automated moderation for your server
🛡️ Invite Link Blocking
Blocks Discord invite links (e.g. discord.gg, discord.com/invite)
🔞 Dangerous/Adult Links Filtering
Blocks dangerous, adult or pornographic links (e.g. http, https, .xyz, .xxx, pornhub, redtube, xvideos, youporn, etc.)
🤬 Bad Words Filter
Blocks messages containing bad words (customizable language)
👤 Anti-Double Account
Detects and prevents users from joining with multiple accounts from the same IP or device
+ AutoSetup will create all native Discord rules
Server Protection Configuration
🛡️ Server Protection
Configure server-level protections
antiChannelDelete
Prevents unauthorized channel deletions - Available to administrators
antiRoleDelete
Prevents unauthorized role deletions - Available to administrators
antiMassCreateChannel
Prevents mass creation of channels - Available to administrators
antiMassCreateRole
Prevents mass creation of roles - Available to administrators
antiServerEdit 🔒
Protects server settings from changes - Restricted to whitelist & owner
antiPermissions 🔒
Monitors dangerous permission changes - Restricted to whitelist & owner
🔧 Auto Channel Restore
Status: Enabled
+ Automatically recreates deleted channels with original permissions
+ Works when antiChannelDelete is enabled
Anti-Raid Configuration
🛡️ Anti-Raid Protections
Configure comprehensive raid protection
antiBot 🔒
Blocks unauthorized bots from joining - Restricted to whitelist & owner
antiMassban
Prevents mass banning of members - Available to administrators
antiWebhook
Protects against webhook abuse - Available to administrators
raidMode
Protects your server from mass account join spam — Admins only
antiApplicationExternal
Blocks external applications from accessing your server - Restricted to whitelist & owner
✓ Access Level: You have access to all protections in this category
🔒 Requirement: Requires whitelist/owner access
Logs Configuration
Setup comprehensive logging system for your server
📝 Log Channel Setup
Configure the log channel for all bot actions
Current Status
❌ No log channel configured
Current Log Channel: Not Set
⚠️ Important: Only the server owner can modify log settings
+ Choose a channel from the menu below
✅ Logging System Setup Complete
Example of successful log configuration
+ Log category created: 📋 xDefender Logs
+ 6 log channels configured
📂 Log Channels
🛡️ #mod-logs
Moderation actions and user punishments
💬 #message-logs
Message edits, deletions, and content monitoring
🏰 #server-logs
Server settings changes and administrative actions
👥 #member-logs
Member joins, leaves, and profile changes
📁 #channel-logs
Channel creation, deletion, and permission changes
🎭 #role-logs
Role creation, deletion, and assignment changes
📚 Next Steps:
All log channels have been created and configured. You can now return to the main menu.
Join Our Community
Connect with other server administrators and get support
Development Team
Meet the developers behind xDefender
Crafted with ❤️ by Kurama & MerlinCode