Knowledge Base

Complete Guide to Server Protection

Learn how to secure your Discord server with our 6-layer protection system, powerful commands, and advanced features.

Getting Started

Set up Yokisa Security in 4 simple steps

1

Invite the Bot

Add Yokisa Security to your server with Administrator permissions for full protection capabilities.

Tip: Make sure the bot role is at the top of your role hierarchy for best results.

2

Set Up Channels

Configure log and alert channels using /settings or the dashboard.

/settings logchannel #logs/settings alertchannel #alerts
3

Configure Whitelist

Add trusted moderators to the whitelist so their actions aren't blocked.

/whitelist add @moderator/whitelist add @admin ban:true manage:true
4

Enable Protection

Turn on the protection features you need from the dashboard or wait for auto-detection.

Tip: Start with Anti-Raid and Anti-Spam enabled, then customize thresholds based on your server size.

6 Layers of Protection

Comprehensive security system that protects your server from all types of threats

1

Anti-Raid Protection

Mass Join Detection

Detects and prevents mass join attacks by monitoring member joins and triggering automatic lockdown when attack patterns are detected.

Real-time join rate tracking per server
Automatic server lockdown when threshold exceeded
Alt account detection based on account age
2

Anti-Spam Protection

Message Flood Detection

Monitors message frequency and patterns to detect and stop spam attacks automatically.

Per-user message rate tracking
Duplicate/repetitive message detection
Automatic message deletion
3

Content Filter

Links, Invites & Words

Prevents sharing of unauthorized links, Discord invites, and blocked words.

Discord invite detection and blocking
Phishing and scam URL detection
Customizable blocked word list
4

Nuke Detection

Mass Deletion Prevention

Detects mass deletion attacks where attackers rapidly delete channels or roles to destroy server structure.

Real-time channel deletion monitoring
Real-time role deletion monitoring
Instant role stripping from attacker
5

Auto-Revert System

Undo Unauthorized Actions

Automatically reverts unauthorized actions performed by non-whitelisted users, restoring your server to its previous state.

Automatic unban for unauthorized bans
DM invite links for unauthorized kicks
Role recreation with permissions, color, and settings
6

Whitelist System

Permission-Based Access

Central access control that determines who can perform administrative actions without triggering protection.

5 granular permission types for fine control
Owner-only whitelist management
In-memory caching for instant lookups

Commands Reference

Complete list of all available commands

Moderation

/warn <user> [reason]Whitelist (Moderate)

Issue a warning to a user

Example: /warn @user Spamming in chat
/mute <user> <duration> [reason]Whitelist (Moderate)

Timeout a user (prevents messages)

Example: /mute @user 1h Breaking rules

* Duration: 5m, 1h, 1d, 1w (max 28 days)

/unmute <user> [reason]Whitelist (Moderate)

Remove timeout from a user

Example: /unmute @user Timeout expired
/kick <user> [reason]Whitelist (Moderate)

Remove a user from the server

Example: /kick @user Toxic behavior
/ban <user> [reason] [delete_days]Whitelist (Ban)

Permanently ban a user

Example: /ban @user Harassment delete_days:7
/unban <user_id> [reason]Whitelist (Ban)

Remove ban from a user

Example: /unban 123456789 Appeal accepted
/purge <count> [user]Whitelist (Moderate)

Bulk delete messages (1-100)

Example: /purge 50 @user

* Only deletes messages less than 14 days old

Protection

/lock [channel] [reason]Whitelist (Moderate)

Prevent everyone from sending messages

Example: /lock #general Raid in progress
/unlock [channel]Whitelist (Moderate)

Allow messages in channel again

Example: /unlock #general
/lockdown <on|off> [reason]Whitelist (Manage)

Lock ALL channels in server

Example: /lockdown on Active raid detected

Management

/whitelist <add|remove|list|view>Owner Only

Manage trusted users

Example: /whitelist add @moderator ban:true
/settings <subcommand>Owner Only

Configure bot settings

Example: /settings logchannel #mod-logs
/backup <create|list|restore|schedule>Whitelist (Backup)

Server backup management

Example: /backup create My Backup

Information

/case <id>Whitelist (Moderate)

View moderation case details

Example: /case 42
/history <user> [limit]Whitelist (Moderate)

View user's moderation history

Example: /history @user 25
/pingEveryone

Check bot latency

Example: /ping
/statusEveryone

View protection status

Example: /status

Frequently Asked Questions

Common questions about Yokisa Security