Sign in
discord

How to Protect a Discord Server from Raids and Phishing

Choose a verification level that fits your server’s risk, use AutoMod to block phishing messages and mention spam, and show members how to turn off server DMs and report impersonators.

3 min read
How to Protect a Discord Server from Raids and Phishing

Set a verification level and check for automatic roles

  1. On desktop, open Server Settings and look for Verification Level under Safety Setup or the server’s safety settings. For a server with a public invite, start with Medium: members need a verified email address and an account older than five minutes before they can post.
  2. During a livestream promotion or a sudden influx of members, switch to High so new members must also wait ten minutes after joining before they can post. If harassment continues, consider Highest, which requires a verified phone number. Log the previous level and the reason for the change. Review it after the event so legitimate customers aren’t left waiting unnecessarily.
  3. Verification restrictions don’t apply to members who have been assigned a role. Check whether your welcome bot grants a role on arrival. If it does, disable the automatic assignment, then test the posting restriction with a regular member account that has no additional roles.
A blue-and-purple gamepad mascot turns an hourglass at a cable car station while wooden penguins wait at the gate.

Configure AutoMod to block messages and flag them for review

  1. Go to Server Settings → AutoMod and create a custom keyword rule. Copy complete phrases from recent phishing reports, such as “scan the QR code to claim compensation” or “DM support to unlock your account.” Add each phrase as a separate entry. Don’t block “support” or “refund” on its own; both appear in legitimate customer service messages.
  2. For confirmed phishing phrases, select Block Message. Set a notice such as “Check the pinned server announcement. Don’t scan the QR code.” Send alerts to a moderators-only channel. For a new phrase with an unclear meaning, use alerts only until a moderator has reviewed it in context.
  3. Create a separate Mention Spam rule. Base the per-message limit on how many mentions a legitimate event post needs, then block messages over the limit and alert moderators. Don’t exempt an entire event category. To test the keyword rule, add a harmless test phrase and post it as a regular member in a non-exempt channel. Confirm the message is blocked and the alert arrives, then remove the test phrase.
A blue-and-purple gamepad mascot shakes a brass sieve that catches spiky red berries and lets golden fruit fall into a jar.

Protect members from phishing in DMs

  1. Pin the official support link in the announcements channel and state: “Support will never DM you for your password, verification codes, or backup codes.” If someone claims to be support, don’t use the link in their DM. Return to the server and open a ticket from the pinned announcement to verify the request.
  2. Show members how to open Privacy Settings from the server menu and turn off direct messages from members of that server. This is a personal setting, not a server-wide admin switch, and existing friends can still send DMs. To report an impersonator, use the message menu to report the DM, then block the account.
  3. If you entered your password on a phishing page, change it immediately in the official Discord app. Review logged-in devices and authorized apps, and revoke any authorization you don’t recognize. Follow the two-factor authentication guide and store your backup codes offline. If you’ve lost control of the account, submit a request through the official Help Center, not someone offering account recovery by DM.
A blue-and-purple gamepad mascot closes the copper lid of a moonstone mailbox, keeping a candy-coated fishhook outside.

Troubleshoot and hand off to the next moderator

SymptomCheck firstAction
A message containing a blocked phrase still appearsIs the tester an admin? Is the channel exempt?Review the exemption, then retest in the same channel as a regular member.
Legitimate support messages keep getting blockedDoes the alert identify a generic word or a full phishing phrase?Narrow the keyword entry rather than disabling the whole rule.
Existing members are flooding a channel during a raidVerification doesn’t limit posting frequency for members who already qualify.Enable slowmode in the affected channel.

Handoff checklist: - Confirm the verification level still fits the event. Check one block alert and one legitimate support message. - From a regular member’s account, confirm the support link is visible and the moderator alert channel is not. - Log each temporary change, who owns it, and when to review it. Include the Discord Safety Center in the pinned announcement so members can check official guidance.