Skip to content
yurna
  1. Documentation
  2. Moderation
  3. Shield: raids, scam links, new accounts, spam trap and lockdown

Shield: raids, scam links, new accounts, spam trap and lockdown

Protects your server from join waves, phishing, fake accounts and spam bots – with a one-click lockdown.

SetupCommandsDashboardPremiumModerationSecurity

Quick look

This is how it looks in Discord – with sample data.

A shield against scams and spam.

Scam links, spam waves or a raid at three in the morning: yurna steps in before your team wakes up and files everything in the case file.

Discord · #generalSample data

FreeNitro_42

Free Nitro! Get it here: disc0rd-gift.example

Interactive demo with sample data. Nothing is changed on a real server.

A scam link comes in. Step 1 of 3

The Shield watches over your server around the clock – even at night when no moderator is awake. It consists of several parts that you turn on individually:

  • Raid protection – detects join waves.
  • Scam & phishing protection – deletes messages with phishing links, Nitro and Steam bait and mass mentions.
  • New account protection – slows down freshly created accounts.
  • Spam trap – a bait channel only spam bots write in.
  • Lockdown – locks every text channel for @everyone in an emergency.

yurna reports every action in the log channel and under Incidents. Timeouts, kicks and bans by the Shield are also added as cases to the case files (source “Shield”).

In the dashboard#

How to set it up#

  1. Open Moderation & safety → Shield (/dashboard/<server>/schutzschild).
  2. Turn the module on at the top right. While it’s off, yurna detects nothing – you can still use the lockdown button, though.
  3. Choose a Log channel, ideally one only your team can see.
  4. Review the individual parts, adjust them and save.
  5. If the page shows “Yurna is missing permissions”, grant the listed permissions and move yurna’s role above the roles you want to protect. Without permissions yurna only reports.

Changes in the dashboard take effect within 30 seconds. The page has two tabs: Settings and Incidents.

Raid protection#

If lots of accounts join in a short time, yurna reacts immediately. Default: 10 joins in 30 seconds (adjustable: 3–200 joins within 5–600 seconds). Raid protection is on by default within the module.

What should happen?

  • Report only (default) – a message in the log channel.
  • Time out new members – everyone who joined during the wave gets a timeout (duration adjustable).
  • Kick new members – everyone who joined during the wave is kicked.
  • Automatic lockdown – locks the server for the configured lockdown duration (Full Moon and up).

As extra signals, the log flags young accounts (default: younger than 7 days, 0 = off) as well as identical avatars and similar names.

Scam & phishing protection#

Checks links against yurna’s list of known phishing domains and detects look-alikes of Discord and Steam (e.g. dlscord.gift). The message is always deleted; in addition you choose Delete only, Timeout (default), Kick or Ban.

  • Detect typical patterns – “Free Nitro”, Steam trade bait and look-alike domains.
  • Public phishing list – additionally the community list by Discord-AntiScam with 30,000+ domains (Full Moon and up).
  • @everyone + link from new accounts – accounts younger than this many days may not post @everyone with a link (default 7, 0 = off).
  • Mass mention – from this many mentions in one message (default 8, at least 3, 0 = off).
  • Blocked domains and Allowed domains – one domain per line, subdomains included.
  • Excluded roles and Excluded channels – e.g. your team. Admins and the server owner are always excluded.

With Check a scam link you test a URL against your server’s saved settings and see whether yurna would remove it, and why.

New account protection#

Off by default. Accounts younger than the Minimum age (default 7 days, 1–365) count as new. Optionally, accounts without avatar count as new too.

  • Report only – a message in the log channel.
  • Quarantine role – gives a role you use in Discord to restrict what new accounts can see and do. The role must be below yurna’s highest role.
  • Timeout – until the account is old enough (at most 28 days).
  • Kick – with a short explanation by DM.

Release members with the button on the message in the log channel.

Spam trap#

A channel nobody should write in. Spam bots post blindly into every channel – and get punished right away. To set it up:

  1. Choose Create a new channel (yurna creates #spam-trap at the very top) or Use an existing channel.
  2. Confirm. An existing channel is cleared completely; if it has messages older than 14 days, yurna replaces the channel with a copy that has the same settings.
  3. yurna posts an explanation in the channel – from then on the trap is armed.

Settings: Punishment (Ban – default, Softban, Kick or Timeout), Delete messages (from the last 0–7 days, default 1), More exceptions and your own Explanation text. Bots, admins and your team (Manage Server or Manage Messages) are always excluded. yurna needs “Manage Channels” and “Manage Messages” for this.

Lockdown#

In an emergency the lockdown stops everything: @everyone loses “Send Messages” and “Create Threads” in all text and forum channels. Afterwards yurna restores every channel permission exactly.

  • Start it with Start lockdown and pick a duration between 15 minutes and 24 hours. You can extend or lift it at any time.
  • Lockdown options: default duration (also used for the automatic lockdown, default 30 minutes), Announcement channel, Pause invites (on by default) and Raise verification level (sets it to “High” for the duration).
  • yurna needs “Manage Channels” and “Manage Roles”.

Log channel and incidents#

In the log channel every message has matching buttons: Remove timeout, Remove timeouts (after a raid), Unban, Release and Lift lockdown. You need “Moderate Members” for timeouts and releasing, “Ban Members” for bans and “Manage Server” for the lockdown. The Incidents tab lists every action, newest first; the stats at the top count raids, scam messages, new accounts and spam trap hits from the last 30 days.

Premium#

FeatureNew MoonHalf MoonFull Moon
Raid, scam and new account protection, spam trapyesyesyes
Manual lockdown (dashboard and command)–yesyes
Automatic lockdown on raids––yes
Public phishing list––yes

If “Automatic lockdown” is selected but your plan is below Full Moon, yurna only reports the raid wave and notes that auto-lockdown requires Full Moon.

By command#

Every area can also be set up with /shield. You need "Manage Server". If you leave an option out, it stays unchanged. For exemptions, add several roles or channels as mentions; - means “none”.

CommandWhat it doesImportant options
/shield statusoverview of every area–
/shield settingsmain switch and log channelenabled: Shield on/off, log-channel, remove-log: remove the log channel
/shield raidraid protectionenabled, joins (3–200) within seconds (5–600), action: report only, timeout, kick or lockdown (Full Moon); timeout (minutes), young-days (0 = off), lockdown-channel, lockdown-verification, lockdown-pause-invites, lockdown-minutes
/shield scamscam & phishing protectionenabled, action: delete only, timeout, kick or ban; timeout (minutes), mass-mentions (0 = off), patterns (bait patterns), everyone-days (0 = off), public-list (Full Moon), exempt-roles, exempt-channels
/shield domain add <domain> <list>adds a domain as allowed or blockedlist: allowed or blocked
/shield domain remove <domain> <list>removes a domain from the listlist: allowed or blocked
/shield domain listshows both domain lists–
/shield new-accountsnew account protectionenabled, min-days (1–365), action: report only, quarantine role, timeout or kick; role (quarantine role), without-avatar
/shield spamtrapspam trapenabled, create-channel (create a new channel) or channel (use an existing channel – it gets cleared!), action: ban, softban, kick or timeout; delete-days (0–7), timeout, exempt-roles, text (- = default text)
/shield lockdown onstarts a lockdown (Half Moon and up)minutes: duration (up to 1440)
/shield lockdown offlifts the lockdown–
/shield test <text>checks a link against the scam filtertext: URL or text
/shield incidentsshows recent incidentstype: raid, scam, new account, spam trap, lockdown; user: only this member

Warning

If you pick an existing channel with channel in /shield spamtrap, yurna clears it. With create-channel, yurna creates a new channel.

Common questions#

Why does a raid only produce a report?#

The default is Report only. Pick a different action under raid protection. If yurna lacks permissions, it also only reports – the page then shows “Yurna is missing permissions”.

How do I let a blocked new account back in?#

Click Release on the message in the log channel. You need “Moderate Members” for this.

Does yurna also delete messages from my team?#

Not if you add your team roles under Excluded roles. Admins and the server owner are always excluded.

Check it with Check a scam link in the dashboard or with /shield test. yurna tells you whether and why it would remove it.

How do I end a lockdown early?#

With Lift lockdown in the dashboard or in the log channel, or with /shield lockdown off. yurna then restores every channel permission.

See also#

Last updated on 30 October 2026