To DM only one role on Discord, build the campaign's audience in BotLunar and choose that role. BotLunar reads each member's roles from your server, narrows the audience to the role you pick and shows the count and an estimated finish time before you start. Anyone who unsubscribed is never included.
Why message by role at all?
A message is more useful to the people it concerns. Roles map to who a member is in your community: new joiners, a team, a level, a product they bought. A rule change for one group of members is noise for everyone else.
Narrow audiences also help you stay inside the frequency cap. BotLunar counts each member across all campaigns: once in any 24 hours on Lunar Daily, once in any 7 days on Lunar Weekly.
How does BotLunar know who has a role?
BotLunar reads your members, their roles, the channels they can see and how recently they were active through your own bot. This needs the Server Members Intent switched on in the Developer Portal. Discord's gateway documentation lists the GUILD_MEMBERS intent among the privileged intents that must be enabled there.
If the member list comes back empty, the intent is off. The article on why a bot sees no members shows the fix.
What are the ways to choose an audience?
Every audience starts from the members who can be messaged and have not unsubscribed. The choices only narrow that group.
| Choice | Use it for |
|---|---|
| Everyone who can be messaged | A message that concerns the whole server |
| By role | One group, such as a level or a product |
| By channel | Members who can see a particular channel |
| By hand | A short list you pick yourself |
| A saved segment | New joiners, active members or quiet members |
| Only me, a test | Checking the message before the real send |
"Can be messaged" means covered by your declaration about your rules screening, or by the member's own yes. BotLunar does not limit a campaign to one of those bases.
How do I send to one role?
- Press Campaigns, then Write a campaign.
- Write the message, or start from a template.
- In the audience panel, choose By role and pick the role.
- Read the count, which updates as you choose, and the estimated finish time.
- Send a test to yourself. Set the audience back to the real one afterwards: it is easy to leave it on the test.
- Read the review panel and start.
The setup guide shows each screen. Remember to leave your own staff out with the setting in Settings if you do not want them in every campaign.
What if the count is zero?
The review says whether nobody matches or everybody who matches is inside the frequency cap. Check that the role exists, that members have it and that you ran Read members recently, because roles are read when you read your members.
Can I exclude a role instead?
BotLunar narrows by choosing who is in. To leave a group out, choose the role or segment you do want, or pick by hand. The saved segments help: new joiners and quiet members, for example, let you aim a message at one end of your community.
Can roles trigger messages automatically?
Yes. An automation can start when a member gets or loses a chosen role. BotLunar compares what the listener already knew and never guesses when it did not know. The automation page lists the triggers. Automated messages follow the same checks as campaigns: consent, unsubscribe, the frequency cap and quiet hours.
Does segmenting change what I am allowed to send?
No. Discord's Community Guidelines say not to send unsolicited bulk messages, whatever the audience size. You, the server owner, are responsible for having a lawful basis to message your members under the laws that apply to you. This is not legal advice.
Frequently asked questions
Can I message two roles in one campaign?
Yes. A campaign aimed at two roles is two rules in the audience picker. The count shows the result before you start.
Does BotLunar read roles in real time?
Roles are read when you read your members, and an automation trigger for a role change compares what the listener already knew.
Will members know which role I picked?
No. Members see only the message.
Can I message members who left the role?
Only if they are in the audience you chose when the campaign runs.
Next step
Read the BotLunar setup guide to build an audience and send a test to yourself, or start the 7 day free trial on Lunar Weekly from the pricing page.