Moderation and safety
How to stop spam and scam links on Discord
How to stop spam and scam links on Discord: link filters, verification levels, role permissions and member habits that block phishing and invite spam.
To stop spam and scam links on Discord, combine four layers: restrict who can post links, filter unwanted links automatically, make new accounts prove themselves before they can post, and teach members what scams look like. No single setting catches everything, but the layers together remove most of the damage. Below is how to build each one.
What do Discord scams and spam usually look like?
Common patterns include fake "free Nitro" or gift offers, links to look-alike login pages that steal passwords (phishing, see Wikipedia), unsolicited invites to other servers, fake job or trading offers, and DMs from compromised accounts of people your members know. Spammers often post the same message across many channels or mention everyone to reach as many people as possible.
How do you stop scam links in a server?
- Raise the verification level. Discord's server verification levels range from None through Low (verified email), Medium (registered on Discord for more than 5 minutes), and High (member of the server for more than 10 minutes) to Highest (verified phone number). A higher level slows throwaway accounts.
- Restrict link permissions. Remove Embed Links and Attach Files from the default role in general channels, and grant them to trusted roles.
- Restrict mentions. Deny Mention Everyone to the default role so spam cannot ping the whole server.
- Use an automatic link filter. Remove all links, only Discord invites, or everything except an allowlist of approved domains.
- Add a verification gate. New members get chat access only after staff or a check approves them. See how member verification works.
- Use slowmode in busy public channels to limit spam bursts.
- Keep a log channel so you can review what was removed.
Which link policy should you choose?
| Policy | Best for | Trade-off |
|---|---|---|
| Remove invites only | General communities | Scam sites on other domains still get through |
| Remove all links | Strict channels like introductions | Blocks harmless links too |
| Allow approved domains only | Tight, topic-focused channels | Needs upkeep as members ask for new sites |
Pair a strict policy with exempt roles for trusted members, and keep lenient policies in casual channels.
What should you do when someone posts a scam link?
- Delete the message and, if the account is compromised, time out or remove it.
- Check whether the account posted elsewhere and clean those messages. See how to bulk delete messages on Discord.
- Tell members not to click it, without reposting the link.
- Ask the real owner of a hijacked account to change their password and enable two-factor authentication.
How can AI help with spam?
Rule-based filters match exact patterns, while AI can recognize spammy intent in messages that avoid known strings. Treat AI as a flag-and-review layer at first, since false positives are possible. See how AI moderation works.
How can you teach members to spot scams?
Post a short pinned note: Discord and real giveaways do not ask for your password or login, be suspicious of urgency and of links from strangers, and never scan QR codes or run files sent by someone you do not know. Make clear that staff will never DM members asking for credentials.
Doing this with Based
Based's link filter module is off by default. You choose the channels, then pick a policy: remove Discord invitations, remove all links, or only allow approved domains. You can list allowed domains (one per line, like example.com), exempt certain roles, and customize the warning text. Warnings have a cooldown (30 seconds by default) to avoid flooding a channel. It needs the Manage Messages permission. For fuzzier spam, the AI automod module can review selected channels for disruptive spam. Every slash command works with the "." prefix too. See the link filter docs and automod docs.
Frequently asked questions
Can Discord scam links be blocked automatically?
Yes. Discord has built-in safety tools, and bots can remove invites or links in selected channels or allow only approved domains. No filter is perfect, so combine it with verification levels and permissions.
Why do spammers mention everyone?
Because it notifies every member at once. Denying the Mention Everyone permission to the default role prevents unverified accounts from doing it.
What should I do if my account sent a scam link?
Change your password, enable two-factor authentication, and review authorized apps. Also warn your friends and server members not to click the link.
Should I block all links in my server?
Not usually. Blocking everywhere frustrates members. Restrict links in sensitive channels or for new members and allow them for trusted roles.
Keep learning
- Moderation and safety
How does member verification work on Discord?
Member verification gates new Discord members behind a check before they can chat. Learn the options, how question-based gates work, and best practices.
- Moderation and safety
How does AI moderation work?
AI moderation uses language models to read messages and flag abuse, spam or rule breaks. Learn how it works, where it fails, and how to use it safely.
- Moderation and safety
How to bulk delete messages on Discord
How to bulk delete messages on Discord: the 14-day limit, the 100-message cap, permissions needed, safe workflows and what to do with older messages.
- Moderation and safety
Discord moderation best practices
Practical Discord moderation best practices: clear rules, tiered responses, least-privilege roles, logging, verification and a staff process that scales.
- Discord basics
How Discord permissions work
Discord permissions control what members and bots can do. Learn how role permissions combine, what Administrator does and how to fix common issues.
Try it in your server
Based is an AI Discord bot in 300+ servers. Every slash command also works with the "." prefix.