Unsolicited mass DM is not allowed on Discord. Discord's Community Guidelines tell users not to send unsolicited bulk messages, and accounts that do can be warned, suspended or removed. Messaging people who were asked to agree is a different thing. We recommend opt-in campaigns from your own bot, with an unsubscribe link in every message, as the safest approach.
This article is not legal advice. It explains the rules as Discord publishes them and how consent changes what you are doing.
What do Discord's rules say about mass DMs?
Discord's Community Guidelines say: "Do not send unsolicited bulk messages (or spam) to others." The same rule covers tools built to spam, such as spambots and server raid tools.
The guidelines do not carve out a special rule for direct messages. The spam rule applies wherever the messages land, and a DM sent to hundreds of strangers is unsolicited bulk messaging.
The word that matters is unsolicited. The rule is aimed at messages the recipient never asked for. A message a member asked to receive is a different case.
What gets accounts and bots actioned?
Discord's guidelines say enforcement depends on how serious the violation is. The listed steps include issuing warnings, removing content and temporarily suspending access to Discord. Serious cases can end with accounts and servers removed permanently.
The same guidelines state that each account must be associated with a human, not a bot, and they ban self-bots and user-bots. A script that logs into a personal account and messages people is therefore a second violation on top of the spam.
In practice, these patterns draw trouble:
- Messaging strangers scraped from another server, who were never asked.
- Sending the same text to a large list in a short burst.
- Using a personal account or a user token instead of a proper bot.
- Giving recipients no way to say stop.
No tool can promise Discord will never act against a bot or server. Sending messages that people asked for is what keeps risk low.
Why is consent the line?
Consent separates a message someone wants from a message someone reports. A member who pressed a button saying "yes, message me about this" is unlikely to report the message as spam. A member who never asked will.
Consent is also the cleanest answer to the question Discord's rule poses. If a message is not unsolicited, it is not what the rule describes.
This is why BotLunar asks for a declaration when you connect a server. You paste the wording your server's rules screening uses to ask members to agree to direct messages, and tick a box confirming it is true. BotLunar cannot check this with Discord: it is your statement about your own server, stored word for word with who made it and when. From then on, every member BotLunar reads from that server can be messaged, existing members as well as new joiners, recorded as covered by your declaration. The exceptions are anyone who unsubscribed and anyone on your suppression list. You, the server owner, are responsible for having a lawful basis to message your own members under the laws that apply to you. We recommend asking members for their own yes as well, because it is the strongest record.
What is the difference between unsolicited mass DM and an opt-in campaign?
| Unsolicited mass DM | Campaign to your own server | |
|---|---|---|
| Who is messaged | Anyone the sender can reach | Members of the sender's own server, whose rules screening asks them to agree to direct messages |
| Where the list comes from | Scraped or exported from servers | The sender's own server's member list |
| How it is sent | Often a personal account or shared token | The sender's own bot |
| Way to stop | None | An unsubscribe link in every message that works at once |
| Pace | As fast as possible | Slow, steady and capped |
| Risk | Spam reports and enforcement | Low, but never zero |
The difference is not the technology. Both can use a bot. The difference is whether the recipient was asked, and whether the sender respects the answer.
How do users' DM settings affect a campaign?
Discord members control who can message them. When a bot tries to message someone who has closed their direct messages, Discord refuses the request. In Discord's documented error codes, this appears as code 50007, "Cannot send messages to this user."
Several situations can produce that error, and a member having direct messages closed for the server is a common one. The setting belongs to the member. Neither you nor your bot can change it, and a good tool does not try to get around it.
Treat these failures as normal. Some share of any audience has closed DMs. BotLunar reports them as failures by reason, separate from members it chose to skip, so you can read the number without guessing. Collecting an email address through the same opt-in gives you a second way to reach people who want to hear from you.
How does BotLunar keep campaigns on the right side of the line?
BotLunar records what every message's permission rests on. These are the rules it follows.
- Your own bot. You create the bot in the Discord Developer Portal. BotLunar never runs a bot for you and never shares one between customers.
- Permission is declared and recorded. Connecting a server requires your declaration that its rules screening asks members to agree to direct messages. Every member BotLunar reads from that server can then be messaged, recorded as covered by your declaration, unless they unsubscribed or are on your suppression list. A member who says yes themselves, through the welcome message, a channel opt-in button or email capture, is recorded as confirmed by the member. That is stronger, and a declaration never overwrites it. Reports show which basis each message relied on and never merge them. A server connected before the declaration step existed shows server membership only. We recommend building the member-confirmed group.
- An unsubscribe link that works at once, in every promotional message. Unsubscribing is permanent and immediate. It also covers messages already queued, and no later member sync brings someone back.
- Frequency caps across all campaigns. One message per member in any 24 hours on Lunar Daily, or in any 7 days on Lunar Weekly. These are rolling windows counted back from each message, and more bots never let one member hear from you more often.
- Pacing per bot. Each bot sends at most 12 DMs a minute, one every 5 seconds. That figure is BotLunar's own safety limit and is deliberately slower than Discord allows.
- Respect for Discord's limits. When Discord answers with a rate limit and a Retry-After value, that bot slows down and resumes while other bots carry on. Discord's rate limit documentation says to rely on the
Retry-Afterheader to decide when to retry.
For the full list of what you may and may not send, read BotLunar's acceptable use policy.
Does opt-in make mass DM completely safe?
No. Opt-in reduces risk a great deal, but it cannot remove it. Discord decides how it enforces its own rules, and a campaign that annoys members can still draw reports.
These habits keep an opt-in list healthy:
- Say in the opt-in wording who will message, about what and how often.
- Keep to the frequency you promised, even when the cap would allow more.
- Make every message useful on its own.
- Answer replies, which land in a shared inbox.
- Treat unsubscribes and complaints as information about the message, not as a problem to work around.
Anything that promises results, profit or income also invites trouble with members and regulators. Keep claims out of your messages.
Frequently asked questions
Is it against Discord's rules to DM everyone in a server?
Messaging strangers who never agreed to anything is unsolicited bulk messaging, which Discord's Community Guidelines prohibit. BotLunar asks you, when you connect a server, to declare that its rules screening asks members to agree to direct messages, and every member it reads is then covered by that declaration. You are responsible for having a lawful basis to message your own members under the laws that apply to you. We recommend also asking members for their own yes, the strongest record.
Can my bot be banned for sending DMs?
Yes, if the messages are unsolicited or abusive. Discord can warn, suspend or remove accounts for serious violations. Sending only to your own server's members, who were asked, at a slow pace, with an unsubscribe link that works at once, lowers the risk but cannot remove it.
What does "Cannot send messages to this user" mean?
It is Discord's error code 50007. It means Discord refused to let your bot message that person. The most common cause is that the member has closed direct messages from the server. Nothing on your side can reopen them.
Does an opt-in button count as consent?
A member pressing a yes button in your welcome message or channel post, after reading what they are agreeing to, is consent they gave themselves. It is the strongest basis BotLunar records. You remain responsible for having a lawful basis to message your members, and laws differ by country, so ask a lawyer about yours.
Is this legal advice?
No. This article explains Discord's published rules and how BotLunar works. Laws on marketing messages differ by country, so ask a qualified professional about your situation.
Next step
Read the BotLunar setup guide to see how opt-in, test sends and pacing work in practice, or start the 7 day free trial on Lunar Weekly from the pricing page. To see how to ask for consent well, read how to DM all members of a Discord server, with consent. To send campaigns from your own bot, see the Discord mass DM bot, or read the practical guide to Discord mass DM marketing.