The most secure Discord bot for your community. Enterprise-grade security with military-grade encryption, intelligent threat detection, and comprehensive moderation tools built for servers that take safety seriously.
Wraith prioritizes your server's security above all else. While other bots focus on features, we focus on protection. Every line of code is written with security in mind.
Run one bot instance across unlimited Discord servers! Each server gets its own isolated configuration:
The most comprehensive Discord security system available - 12 layers of protection:
Advanced member verification with multiple entry requirements:
Complete voice channel management system with ownership controls:
Modern SvelteKit-based administration dashboard with real-time updates:
Comprehensive moderation toolkit:
Complete case management system:
Advanced channel lockdown capabilities:
Complete thread and forum post control:
Personal reminder system:
Professional support ticket management:
| Command | Description | Permission |
|---|---|---|
,ban @user [reason] |
Ban a user | Ban Members |
,tempban @user <duration> [reason] |
Temporarily ban | Ban Members |
,kick @user [reason] |
Kick a user | Kick Members |
,jail @user [duration] [reason] |
Jail a user | Manage Messages |
,warn @user <reason> |
Warn a user | Manage Messages |
,timeout @user [duration] [reason] |
Timeout a user | Moderate Members |
,stripstaff @user |
Remove staff roles | Administrator |
,moveall #channel |
Move all to channel | Administrator |
| Command | Description | Permission |
|---|---|---|
,history @user |
View user's punishments | Manage Messages |
,history view <case_id> |
View specific case | Manage Messages |
,moderationhistory @mod |
View mod's actions | Manage Messages |
,modstats [@mod] |
View mod statistics | Manage Messages |
,warnings @user |
View user's warnings | Manage Messages |
,reason <case_id> <reason> |
Update case reason | Manage Messages |
,jaillist |
View jailed members | Manage Messages |
,timeout list |
View timed out members | Moderate Members |
| Command | Description | Permission |
|---|---|---|
,lockdown [#channel] [reason] |
Lock a channel | Manage Channels |
,lockdown all [reason] |
Lock all channels | Manage Channels |
,lockdown ignore add/remove/list |
Manage ignored channels | Manage Guild |
,lockdown role @role |
Set lock role | Manage Guild |
,unlock [#channel] [reason] |
Unlock a channel | Manage Channels |
| Command | Description | Permission |
|---|---|---|
,thread lock [thread] |
Lock a thread | Manage Threads |
,thread unlock [thread] |
Unlock a thread | Manage Threads |
,thread add @user |
Add user to thread | Manage Threads |
,thread remove @user |
Remove from thread | Manage Threads |
,thread watch [thread] |
Toggle auto-unarchive | Manage Channels |
| Command | Description | Permission |
|---|---|---|
,remind <duration> <text> |
Set a reminder | Everyone |
,reminders |
View your reminders | Everyone |
,remind remove <id> |
Remove a reminder | Everyone |
Clone the repository
git clone https://github.com/8ivq/wraith.git
cd wraith
Install dependencies
npm run install:all
This installs dependencies for both the bot and the SvelteKit panel.
Configure the bot
Create your configuration files from the examples:
cp .env.example .env
cp config.json.example config.json
cp data/panel_credentials.json.example data/panel_credentials.json
Then edit .env and add your Discord bot token:
DISCORD_TOKEN=your_discord_bot_token_here
Edit config.json with your server details (or run the setup wizard):
node setup.js
Start the bot and panel
npm run dev
Or use the convenient batch file:
start.bat
This will start:
Access the web panel
Navigate to http://localhost:3001 in your browser.
The admin credentials are displayed in the console when the bot starts. Password rotates on each bot restart for security.
After inviting the bot, configure your server:
,setup # Interactive setup wizard
,setwelcome #channel # Set welcome message channel
,setleave #channel # Set leave message channel
,setbooster #channel # Set booster announcement channel
,setauditlog #channel # Set security audit log channel
Enable security features as needed:
,antiraid enable # Enable anti-raid protection
,accountfilter enable 7 # Flag accounts younger than 7 days
,linkscanner enable # Enable malicious link detection
,quarantine enable # Auto-quarantine new members
,altdetection enable log # Enable alt detection (log/kick/quarantine)
,verify enable # Enable smart verification system
,securityconfig # View all security settings
| Command | Description |
|---|---|
,verify approve @user <female|invites|funds> |
Approve verification request |
,verify deny @user [reason] |
Deny verification and kick user |
,verify list |
List all pending verifications |
,verify invites @user |
Check user's female invite count |
,verify enable |
Enable verification system |
,verify disable |
Disable verification system |
,verify status |
View verification system status |
| Command | Description |
|---|---|
,antiraid enable/disable |
Toggle anti-raid protection |
,accountfilter enable/disable [days] |
Filter suspicious accounts |
,linkscanner enable/disable |
Toggle malicious link scanning |
,quarantine enable/disable |
Toggle auto-quarantine for new users |
,altdetection enable <action> |
Enable alt detection (log, kick, or quarantine) |
,threat @user |
View user's threat score and assessment |
,whitelist add/remove/check @user |
Manage security whitelist |
,securitylogs [count] |
View recent security incidents |
,resetthreat @user |
Reset user's threat score |
,setauditlog #channel |
Set security audit channel |
,securityconfig |
View all security settings |
,verify @user |
Remove user from quarantine |
,unlock all |
Unlock all channels after a raid |
| Command | Description |
|---|---|
,ban @user [reason] |
Ban a user |
,tempban @user <duration> [reason] |
Temporarily ban (e.g., 7d, 24h, 30m) |
,unban @user/all |
Unban user or all users |
,kick @user [reason] |
Kick a user |
,jail @user [reason] |
Assign jail role |
,unjail @user/all |
Remove jail role |
,mute @user [reason] |
Mute in text channels only |
,unmute @user |
Unmute user |
,timeout @user <duration> [reason] |
Full server timeout |
,untimeout @user |
Remove timeout |
,pic @role |
Set role for media permissions |
,unpic @user/all |
Remove pic permissions |
| Command | Description |
|---|---|
,vc lock |
Lock your voice channel |
,vc unlock |
Unlock your voice channel |
,vc hide |
Hide your channel |
,vc show |
Show your channel |
,vc rename <name> |
Rename your channel |
,vc limit <number> |
Set user limit (0 = unlimited) |
,vc claim |
Claim ownership of abandoned channel |
,vc permit @user |
Whitelist a user |
,vc reject @user |
Blacklist a user |
,vc ghost |
Toggle ghost mode |
,vc drag @user |
Move user to your voice channel |
| Command | Description |
|---|---|
,text lock |
Lock text channel |
,text unlock |
Unlock text channel |
,clear <amount> |
Delete last X messages |
,clear all |
Recreate channel (wipes all messages) |
| Command | Description |
|---|---|
,giveaway <duration> <prize> |
Start a giveaway (e.g., 1d, 12h) |
,poll <question> | <option1> | <option2> ... |
Create a poll (max 10 options) |
| Command | Description |
|---|---|
,av @user or ,avatar @user |
Display user avatar |
,banner @user or ,bnr @user |
Display user banner |
,help |
Show context-aware help menu |
Three-tier verification for controlled access:
Uses advanced algorithms to identify coordinated alt accounts:
,unlock all to restore after raid endsBlocks known malicious domains:
wraith/
โโโ bot.js # Main bot entry point
โโโ config.js # Configuration manager
โโโ setup.js # Interactive setup wizard
โโโ start.bat # Windows startup script
โโโ commands/
โ โโโ moderation.js # Ban, kick, jail, mute, timeout
โ โโโ voiceChannel.js # VC management commands
โ โโโ textChannel.js # Text channel controls
โ โโโ security.js # Security configuration
โ โโโ verification.js # Verification system commands
โ โโโ ticket.js # Support ticket system
โ โโโ ...more commands
โโโ utils/
โ โโโ verification.js # Verification system logic
โ โโโ security.js # Security event handlers
โ โโโ userResolver.js # Multi-format user resolution
โ โโโ ticketManager.js # Ticket state management
โ โโโ vcManager.js # Voice channel state management
โ โโโ logger.js # File-based logging system
โโโ panel/
โ โโโ server.js # HTTP server for panel API
โ โโโ auth.js # Authentication manager
โ โโโ websocket.js # WebSocket manager (live updates)
โ โโโ api/
โ โโโ index.js # REST API endpoints
โโโ panel-svelte/ # Modern SvelteKit web panel
โ โโโ src/
โ โ โโโ routes/ # Dashboard pages
โ โ โโโ lib/
โ โ โ โโโ components/ # Reusable UI components
โ โ โ โโโ stores/ # Svelte stores for state
โ โ โ โโโ utils/ # API client, WebSocket
โ โ โโโ app.html
โ โโโ package.json
โโโ data/
โ โโโ panel_credentials.json # Panel user credentials (NEVER COMMIT)
โ โโโ guilds/ # Per-guild config files (NEVER COMMIT)
โโโ logs/ # Application logs (auto-created)
โโโ config.json # Bot configuration (NEVER COMMIT)
Contributions are welcome! Please follow these steps:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ by 8ivq
โญ Star this repository if you find it useful!