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.5
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.25.1
PlatformLinux
Bot Versionv3.5
๐ 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.
Anti-@everyone
Prevents abuse of @everyone and @here mentions. Protects your server from mass ping spam and notification 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
๐ง Auto Role Restore
Status: Enabled
+ Automatically recreates deleted role with original permissions
+ Works when antiRoleDelete 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
antiNewAccount
Prevents new accounts from joining (configurable age threshold) - Available to administrators
โ Access Level: You have access to all protections in this category
๐ Requirement: Requires whitelist/owner access
Backup System Configuration
๐ฆ Backup System
Create, load, and manage complete server backups
โ Create Backup
Create a complete backup of your server configuration including roles, channels, and permissions
๐ List Backups
View all available backups for your server
๐ฑ Load Backup
Restore your server from a previously created backup
โ Delete Backup
Remove a backup from your server's backup list
โฌ๏ธ Export Backup
Export a backup file to transfer between servers
โฌ๏ธ Import Backup
Import a backup file from another server
+ Backup Features:
โข Backup all roles and their permissions
โข Backup all channels and their permissions
โข Backup all categories
โข Export/Import to transfer between servers
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