Anti-spam and links

Discord Scam and Phishing Bots: How to Detect and Block Them

Many Discord scams arrive as a link: fake Nitro gifts, wallet mints, fake login pages, QR codes, or fake Discord support tickets. Compromised members post them, or bots someone with Manage Server added. Block them in layers with Discord's filters and Security Bot. Its invite filter and bot-add protection are free. Its scam-domain feed is on Premium.

By Sina, Founder, Security BotUpdated (published )10 min read

The scams you will actually see

ScamHow it looksWhat it steals
Fake Nitro giftA link styled like discord.gift from a member's accountAccount token or credentials
Wallet drainerA mint or airdrop link in crypto and NFT serversWallet contents
Fake login pageA link that looks like Discord or Steam loginPassword, then the account
QR code loginA QR code that logs the scanner's account into the attacker's clientAccount session
Fake supportA DM or ticket from a fake Discord or server staff accountCredentials, or a payment
Malicious botA bot that promises a feature and runs a nuke or posts scamsThe server
Fake giveaway botA bot or account that mass-DMs members with a prize linkMembers' accounts

Signs a member account is compromised

  • Posting the same link in several channels within seconds.
  • A message that does not match how the person usually writes, sometimes in a different language.
  • Links posted at an unusual hour for that member.
  • Mass DMs reported by other members.

Treat these as a compromised account, not a bad member. Softban to clear the messages, then contact the person another way and tell them to change their password, which logs out every device.

Signs a bot application is malicious

  • Nobody on staff remembers approving it.
  • It requested Administrator for something a music or leveling bot does not need.
  • It created webhooks or roles shortly after joining.
  • Its listing has few servers and a copied description.

Security Bot's free Anti Bot Add trigger punishes whoever adds a bot, unless they are the owner, ranked above Security Bot, or whitelisted for Bot-Add, and removes the added bot. Any bot ranked below Security Bot is subject to the same anti-nuke limits as a user.

Start with what Discord already does. Community servers get Discord's suspicious-link filter, which blocks known malware and phishing links. AutoMod's Spam Content rule catches much of the "free Nitro" and invite spam. Scam domains change often, so a hand-written block list on top of that is always behind.

On Premium, Threat Link Guard adds a bot-side check against a threat indicator list of scam, phishing, and malware domains that it refreshes every hour. It works after posting, in regular text channels:

  • Matching messages are deleted as soon as the bot sees them.
  • The sender can be timed out, kicked, or banned.
  • The match is posted to your AutoMod log. The timeout, kick, or ban also appears in the moderation log.

The AutoMod page shows how many indicators are loaded. Add Domain Watchlist for domains specific to your community, and the free Anti Invite Link for invite spam.

Stopping impersonation

Fake support accounts rely on names like Discord Support, Admin, or your server's name. Discord's member profile rule checks the server nickname, or the username if there is none, against terms you choose. It blocks a matching member from talking or interacting until they change it. You can exempt your real staff role.

On Premium, the Block Words in Member Profile Names preset sets this up from the dashboard. It works only on servers with Community enabled. Combine it with a pinned notice that staff never DM first and never ask for a login.

  1. Enable Threat Link Guard

    On Security Bot's AutoMod page turn on the scam and phishing domain preset (Premium) with a bot timeout as the follow-up action.

  2. Turn on Anti Invite Link and check Anti Bot Add

    Both are free anti-nuke rules. Anti Invite Link deletes invite links outside whitelisted channels and is off by default. Anti Bot Add is on by default. It punishes whoever adds a bot (other than the owner, members above Security Bot, or whitelisted users) and removes the bot.

    Command: /enable action:Sending invite links

  3. Filter impersonating names

    Set up Discord's member profile rule for names that impersonate staff or Discord, such as anything containing Support, Admin, or Discord. Matching members cannot talk or interact until they change the name. On Premium, the Block Words in Member Profile Names preset creates it with your staff role exempt. The preset needs Community enabled on the server.

  4. Require 2FA for moderation

    Turn on the server's 2FA requirement for moderation. A phished staff password alone is then no longer enough to use native moderation permissions. It does not stop a stolen session token.

  5. Pin a scam notice

    One message in your rules or announcements channel: staff never DM first, Nitro is never free, and links to log in are always scams.

  6. Watch the AutoMod log

    Assign the AutoMod log channel on the Logging page. Blocked scam links tell you which members' accounts may be compromised.

What Discord itself provides versus what needs a bot

NeedDiscord built inWhat Security Bot adds
Block known scam domainsThe suspicious-link filter (Community servers), AutoMod Spam Content, and keyword rules you write by handThreat Link Guard: a bot-side feed refreshed hourly that deletes after posting (Premium)
Delete invite spamA keyword or regex rule; its allow list (up to 100 entries) keeps your own invite or vanity URL workingAnti Invite Link deletes every invite posted in regular text channels outside whitelisted ones, including your own, without using a rule slot. Free, not logged
Stop unknown bots being addedWhoever holds Manage Server can add anythingAnti Bot Add punishes whoever adds a bot (except the owner, members above the bot, and whitelisted users) and removes it. Free
Catch staff impersonatorsOne member profile rule, configured in nested menusProfile name preset with an exempt staff role, synced from the dashboard (Premium, Community servers only)
Punish the senderBlock the message; keyword and mention spam rules can also time outTimeout, kick, or ban per preset (Premium)
See what was blockedAutoMod alert channelAutoMod log channel with the filter, the member, and the message content (Premium)

Keep Discord's native filters on. AutoMod blocks the message before it posts, which no bot can do. Security Bot can create and sync those native rules for you on Premium and adds the parts Discord leaves out. See Discord AutoMod versus Security Bot for the full comparison.

This is an illustration, not a real incident. A member who has been in the server for two years posts a free Nitro claim link in general, memes, and off-topic within eight seconds. Nobody on staff is online. Here is what a server on Premium with these filters does on its own.

  1. If the domain is on Discord's suspicious-link list, or the message looks like spam to the Spam Content rule, Discord blocks it before it posts.
  2. If it gets through, Threat Link Guard matches the domain against the threat indicator list and deletes each message as soon as the bot sees it. The follow-up action you set, a one-hour timeout, fires so the account cannot post again.
  3. The AutoMod log channel receives an entry for each match with the filter, the member, the channel, and the message content. The timeout also appears in the moderation log, with Security Bot as the moderator.
  4. In the morning, a moderator reads the log and runs /softban on the account to clear anything the filters missed. Then they message the member on another platform to change their password.
  5. The moderator checks the audit log for actions the account took while compromised. The moderation log shows the softban with who ran it and why.

The messages are visible only for the moment between posting and deletion, and the account is silenced before it can post again. Without the filters, they would stay up until a moderator came online.

Server typeLink filtersBot controlImpersonation
Small community (under 1,000)Anti Invite Link on; Threat Link Guard with timeout if on PremiumAnti Bot Add on; Manage Server only for the ownerPinned scam notice; profile rule optional
Public gaming serverAnti Invite Link on with one whitelisted partners channel; Threat Link Guard with timeout; a Mention Spam ruleAnti Bot Add on; one admin whitelisted for Bot-AddProfile rule for Admin, Mod, Support
Crypto, NFT, or marketplaceThreat Link Guard with ban; Domain Watchlist for lookalike project domains; captcha verificationAnti Bot Add on with ban; nobody whitelisted for Bot-AddProfile rule for the project name, Support, Team, Airdrop; announcements read-only
Server networkThe same filters on every server; an AutoMod log channel per serverAnti Bot Add on everywhere; a single admin whitelisted per serverOne shared profile term list; staff names published in one channel

Anti Invite Link and Anti Bot Add are free, and Discord's native AutoMod rules can be set up by hand on any server. Security Bot's AutoMod presets, including Threat Link Guard and Domain Watchlist, are part of Premium at $4.99 per month per server. The setup guide walks through the order to enable them in.

Common mistakes and how to fix them

  • Relying on a hand-written domain list. Scam domains change often. Keep a keyword rule or Domain Watchlist for community-specific domains and let Discord's filter and a maintained feed handle the rest.
  • Delete only, no follow-up action. A compromised account can post again seconds later. Set a timeout on Threat Link Guard so the account is silenced while you investigate.
  • Leaving Manage Server on a moderator role. That is the permission that adds bots. Limit it to the owner and one admin, and keep Anti Bot Add on for everyone else. See dangerous Discord permissions explained.
  • No AutoMod log channel. Blocked links are your early warning that a member is compromised. Assign the channel on the Logging page and read it.
  • Turning off the invite filter because a partner posts invites. Whitelist that one channel instead, so the rule stays on everywhere else. On the free tier, use /whitelist add_channel channel:#partners category:Channels: Invite-Link. On Premium, use the Whitelists page.

Make sure the security bot itself is real

Scam bots imitate popular ones, and other bots on directory sites may use similar names. The real Security Bot is invited from securitybot.gg or docs.securitybot.gg. Its dashboard asks Discord only for the identify and guilds scopes. It never asks for a password, email, or payment details. If an invite arrived in a DM or from an unfamiliar site, do not accept it.

Apply the same test to any bot: invite only from the website on its listing and read what the invite asks for. More on Is Security Bot safe?.

If a member already clicked

  1. Tell them to change their Discord password immediately, which logs out every device, and enable 2FA.
  2. Have them check User Settings, Authorized Apps, and remove anything unfamiliar.
  3. Softban their account to clear any scam messages it posted.
  4. Check the audit log for actions the account took while compromised.

Do this with Security Bot

Discord Anti Link Bot: Remove invite spam and known scam, phishing, and adult links from your channels.

Security Bot deletes Discord invite links with a free filter. Premium adds Threat Link Guard, which deletes links to known scam, phishing, and malware domains from an hourly feed. It also adds Mature Link Guard and a Domain Watchlist rule it manages for you.

Frequently asked questions

How do I detect scam bots on Discord?

Watch for bots nobody approved, bots that requested Administrator without need, and bots that create webhooks or roles on join. Keep Security Bot's Anti Bot Add on so unauthorized additions are punished and the bot is removed.

How do I block phishing links in Discord?

Keep Discord's suspicious-link filter (Community servers) and an AutoMod Spam Content rule on. Add a maintained scam-domain feed such as Security Bot's Threat Link Guard on Premium. Then add keyword rules for domains specific to your community.

Can Discord AutoMod block scam links?

Partly. Community servers get Discord's suspicious-link filter, and the Spam Content rule catches common scam spam. Anything beyond that needs keyword rules you maintain by hand or a bot with a threat feed.

What do I do if a member posts scam links?

Treat the account as compromised. Softban to clear the messages, then tell the member to change their password, which logs out every device, and enable 2FA.

How do fake support scams work?

An account named like Discord or server staff DMs a member claiming a problem and links to a fake login or asks for a code. Real staff never DM first. Pin that rule.

Does Security Bot read my messages to detect scams?

Yes. It reads message content in real time so its filters, such as the invite filter and Threat Link Guard, can match links. When a link filter deletes a message, the content is posted to your own AutoMod log channel. The trust page covers what the bot stores.

Can I allow invites in a partner channel?

Yes. Whitelist that channel in the Channels: Invite-Link category and Anti Invite Link ignores it while staying on everywhere else.

How this guide was made: drafted with AI assistance, then checked against Security Bot's source code and Discord's official help articles. Spotted something out of date? Tell us in the support server.