To DM all members of your Discord server, create your own bot in the Discord Developer Portal, switch on the Server Members Intent, connect your server with your rules screening declaration, and invite the bot. Then send a test to yourself and run a campaign. We recommend also asking members for their own yes, because it is the strongest record.

Can I DM every member of my Discord server?

With BotLunar, yes, once you have declared how your server asks members to agree to direct messages. Discord's Community Guidelines say: "Do not send unsolicited bulk messages (or spam) to others." A message to people who were never asked is unsolicited bulk messaging, which is why the declaration matters.

When you connect a server, BotLunar asks you to paste the wording your rules screening uses to ask members to agree to direct messages, and to 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 too, recorded as covered by your declaration. The exceptions are anyone who unsubscribed or is 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.

For the full picture of what Discord prohibits, read Is Mass DM Allowed on Discord?. It is not legal advice, and the same goes for this article.

What do I need before I start?

  • A Discord account with Manage Server in the server you want to use.
  • A server that has the Community feature and rules screening switched on, and the wording your screening uses to ask members to agree to direct messages. You paste it when you connect the server.
  • Your logo, which becomes the picture next to every message.
  • A BotLunar account. A campaign always targets exactly one server.

Setting up takes an afternoon the first time. Most of that time goes on the permission work, and it keeps paying back.

How do I DM all members of my Discord server?

Follow these steps in order.

  1. Create a bot in the Discord Developer Portal. Open the Developer Portal, press New Application, and name it what your members should see, usually your brand name. Add your logo as the app icon.
  2. Switch on the Server Members Intent. On the Bot page, under Privileged Gateway Intents, switch on Server Members Intent and Message Content Intent, then save. Discord's gateway documentation says you must enable the privileged intents you need in the Developer Portal. Without the Server Members Intent, your member list comes back empty.
  3. Connect your server and the bot to BotLunar. Connecting the server needs your declaration: paste your rules screening wording and tick the box confirming it is true. Then reset the bot token in the Developer Portal, copy it once, and paste it straight into BotLunar. Never share the token anywhere else.
  4. Invite the bot to your server. BotLunar builds the invite link with the permissions it needs and your server already chosen. Press Check now, and the status should turn to Online.
  5. Read your members. On the Audience page, press Read members. The Opted in number will be close to the members on file, because your declaration covers them, less anyone who unsubscribed or is on your suppression list. The member-confirmed count starts at zero, and that is correct.
  6. Ask members for their own yes. We recommend it, because it is the strongest record. The next section covers the ways.
  7. Send a test to yourself. A test goes only to your own account and counts against nothing. Read it as a member would, and press the unsubscribe link to check it works.
  8. Write and start the campaign. Choose your audience, read the review panel, then press start.

The setup guide shows each step with the screens you will see.

How do members opt in?

BotLunar records which basis each member's permission rests on. Your rules screening declaration covers every member BotLunar reads from your server. A member's own yes is stronger, and the two buttons below are how to get it.

The member's own yes, through the welcome message or the channel button, is the strongest basis. The declared rules screening rests on your word about your own server, so it is weaker, and a declaration never overwrites a member's own yes. BotLunar reports each basis separately and never merges them. Server membership only appears just for a server connected before the declaration step existed.

Both buttons sit beside a No thanks button that cannot be removed. Write the opt-in wording so it says who will message, about what, roughly how often, and how to stop. Use the same words in every place. See welcome messages for the details.

Campaigns cannot be limited to one basis, so your first campaign reaches every member your declaration covers. Watch the share who said yes themselves, and grow it by talking about your opt-in button in a channel people read.

How long does a campaign take?

Each bot sends at most 12 DMs a minute, which is one every 5 seconds. That is BotLunar's own safety limit, deliberately slower than Discord allows. A server's pace is the sum of its sending bots, so more sending bots finish a campaign sooner.

Here is a worked example using only that number.

One bot sends 1,200 messages in 100 minutes, because 1,200 divided by 12 is 100. Two sending bots split the work, so the campaign finishes in 50 minutes. Discord counts rate limits per bot token, so two bots are genuinely two budgets.

Real campaigns can run slower. When Discord answers a bot with a rate limit and a Retry-After value, that bot waits exactly as long as asked and then resumes, while other bots carry on. Discord's rate limit documentation describes the Retry-After header. The campaign page shows a live estimated finish time that updates as the send runs.

Do backup bots make a campaign faster?

No. A campaign has one main bot and up to two backup bots. A backup bot waits while the main bot is online and takes over only if the main bot goes offline, continuing from the next member so nobody is skipped or messaged twice.

Backups never send at the same time as the main bot, so they never make a campaign faster. They make it finish. To go faster, use more sending bots instead. See backup bots for how handover works.

More bots also never let one member hear from you more often. The frequency cap counts each member across every campaign and bot together: one message in any 24 hours on Lunar Daily, or in any 7 days on Lunar Weekly.

What does "sent" mean?

Sent means Discord accepted the message. Discord never confirms that a direct message was received or read, so BotLunar keeps sent and delivered apart and shows no open rate. Any tool that shows an open rate for Discord direct messages is showing a number it cannot know.

Some messages will fail because a member has closed their direct messages. Discord reports this with error code 50007, "Cannot send messages to this user," in its documented error codes. Failures are normal for any audience. The analytics page lists them by reason, separate from members BotLunar skipped before trying.

Frequently asked questions

Can I DM all members of a Discord server with a bot?

Yes. Once you declare, when you connect the server, that your rules screening asks members to agree to direct messages, BotLunar can message every member it reads from that server who has not unsubscribed and is not on your suppression list. You are responsible for having a lawful basis to message your own members under the laws that apply to you. BotLunar uses your own bot and puts an unsubscribe link that works at once in every promotional message. We recommend asking members for their own yes as well.

Why does my bot find no members?

The Server Members Intent is almost certainly off. Open the Bot page in the Discord Developer Portal, switch on Server Members Intent under Privileged Gateway Intents, and save. Then press Read members again in BotLunar.

How many DMs can a bot send per minute?

In BotLunar, each bot sends at most 12 DMs a minute, one every 5 seconds. That is a safety limit set by BotLunar, slower than Discord allows. Add sending bots to raise a server's combined pace.

What happens if a member unsubscribes?

Unsubscribing is permanent and immediate, and it covers messages already queued. No later member sync brings the person back. Members can also pause messages for 30 days, or choose offers only or announcements only.

Can I test a campaign before sending it?

Yes. A test send goes only to your own Discord account, and it counts against neither your frequency cap nor your plan allowances. Send as many as you need before the real campaign.

Next step

Read the BotLunar setup guide and work through the opt-in section first. When you are ready to send, start the 7 day free trial on Lunar Weekly from the pricing page. To send campaigns from your own bot, see the Discord mass DM bot, or read the practical guide to Discord mass DM marketing.