How to Set Up an Affiliate / Referral Program in Your Discord Server
To set up a referral or affiliate program for a Discord server, turn on invite tracking so the bot records who invited each new member, attach role and perk rewards to invite milestones, publish a leaderboard so members can see their rank, and add anti-fraud checks to block fake or self-invites. A free bot like PeakBot handles all of this without extra spreadsheets.
Growth that comes from your own members is the cheapest, highest-trust traffic a Discord server can get. A person who joins because a friend invited them already trusts the place before they read a single channel. This guide walks through building that into a real, trackable program: invite tracking, reward tiers, a leaderboard, fraud prevention, paid affiliate perks, and how to measure whether any of it is actually working.
Why referral programs grow communities faster than ads
Discord ads and paid listing services bring strangers. Referrals bring warm introductions. When an existing member invites someone, that new person arrives with context, a reason to stay, and usually a friend already inside to talk to. Retention on referred members tends to be better than on cold traffic, because the social tie does the onboarding work for you.
There is also a compounding effect. Every member you reward for inviting becomes a small, motivated marketing channel. Ten active inviters reach circles you never could on your own. If you have read our guide on how to promote a Discord server for free and get more members, a referral program is the engine that makes all those other tactics multiply instead of fizzle out.
The catch is that none of it works without tracking. If you cannot prove who brought whom, you cannot reward fairly, and a reward people do not trust gets ignored. So tracking comes first.
Step 1: Turn on invite tracking so the bot knows who invited whom
Discord itself does not tell you which member invited which new join in any usable way. You need a bot that watches invite links and matches each new member to the link they used.
With PeakBot, invite tracking is part of the free feature set. Once the bot is in your server it records every invite link, who created it, and how many people actually joined and stayed through each one. That gives you the raw ledger your whole program runs on: a running count of real, retained invites per member.
To get clean data, ask members to use their own personal invite link rather than a generic server-wide one. In Discord, any member with the right permission can create an invite from a channel (right-click the channel, choose Invite People, copy the link). The bot ties everyone who joins through that link back to the creator. Encourage one stable personal link per member so their count keeps building instead of resetting.
A few settings to get right from the start:
- Track retained invites, not raw joins, so a member only gets credit once the person they invited actually sticks around.
- Decide whether invites count when someone rejoins after leaving (usually no, to avoid gaming).
- Make sure logging is on so you have an audit trail if a count is ever disputed.
Step 2: Set reward tiers and milestone roles
A referral program needs a reason to participate. The cleanest reward structure on Discord is roles unlocked at invite milestones, because roles are visible, permanent, and cost you nothing to hand out.
Map out a simple ladder. For example:
- 3 invites: a starter role like Recruiter, plus a color so they stand out in the member list.
- 10 invites: an Ambassador role with access to a private channel.
- 25 invites: a top-tier role with a perk that actually matters in your community (early access, a custom channel, naming rights to an event).
Keep the first rung low. Most people who will ever invite anyone do it in their first week; if the first reward is 50 invites away, they give up before they start. Three is a number a motivated member can hit by messaging a couple of friends.
PeakBot can grant these milestone roles automatically off the invite count, so you are not manually checking numbers and assigning roles by hand. This is the same automatic role-on-milestone mechanic covered in our guide on how to reward your Discord server boosters — the only difference is the trigger is invites instead of boosts. If you already reward boosters, your members already understand how the ladder works.
Pair roles with XP where it makes sense. PeakBot's free XP and leveling system tracks message and voice activity with its own leaderboards and role rewards, so an invite ladder and an activity ladder can sit side by side. Inviters who also stay active rise on both.
Step 3: Build a referral leaderboard
Visibility is what turns a quiet perk into a competition. A public leaderboard showing the top inviters does more for participation than any single reward, because people want their name near the top and they want to see they are gaining on the person above them.
Set up a dedicated channel, something like #top-inviters, and have the bot post or maintain the standings there. PeakBot's invite tracking feeds a leaderboard you can surface in-server, and its analytics dashboard lets you see the same data from the web when you want the full picture rather than a snapshot.
Good leaderboard habits:
- Refresh it on a regular cadence (weekly is plenty) so it feels alive but does not spam.
- Call out the top one to three movers by name when you refresh it. Public recognition is itself a reward.
- Run a monthly reset or a separate "this month" board alongside the all-time board, so newer members are not staring at an unreachable lead and giving up.
A leaderboard also doubles as social proof for newcomers. Seeing that dozens of people are actively inviting tells a new member this is a place worth bringing friends into.
Step 4: Prevent fake-invite and self-invite abuse
The moment there is a reward, someone will try to game it. The two classic attacks are self-invites (a member makes alt accounts and invites their own alts) and fake invites (mass-inviting accounts that join and immediately leave or never speak). If you reward these, your counts become meaningless and your honest inviters stop trusting the program.
Build the defenses in before you announce, not after:
- Count only retained invites. A join that leaves within a set window should not count. This alone kills most join-and-leave farming.
- Require minimum account age and activity. A brand-new account that joins and never posts is almost certainly an alt. Hold the credit until the invited member crosses a small activity bar.
- Use anti-raid and anti-nuke protection so a sudden flood of suspicious joins is caught as a raid, not rewarded as a recruiting spree. PeakBot includes anti-raid and anti-nuke in its free tier.
- Watch for self-invite patterns. Several accounts joining through one person's link from similar usernames or in tight bursts is a flag worth a manual look.
We go deeper on spotting and stopping this in our dedicated guide on Discord fake-invite detection. Read it before you scale rewards, because the larger the prize, the harder people will try to cheat it.
Context-aware AI moderation helps here too: instead of matching a fixed keyword list, PeakBot reads message intent and adapts per channel, so the obvious throwaway alts that join, drop a link, and vanish get caught by the same system that keeps your channels clean.
Step 5: Add affiliate perks for paid communities
If your server has a paid side — a subscription, a course, merch, a product — you can turn referrals into a true affiliate program where members earn something tangible for bringing paying members.
The Discord-native part stays the same: invite tracking attributes each new member to the person who brought them. What changes is the reward. Instead of (or alongside) roles, top affiliates can earn:
- A revenue share or flat bounty per paying member they refer.
- A discount code unique to them, so off-platform conversions are still attributable.
- A premium role that comes with real product perks rather than cosmetic ones.
Keep the attribution honest by tying payouts to retained, paying members rather than raw joins, exactly as you did with role rewards. For larger paid communities, PeakBot Pro at $8.25/month (or $69/year, which works out to $5.75/month billed yearly) adds the heavier automation and AI tooling that makes running a serious program less hands-on — including the AI Server Builder if you want to spin up a dedicated affiliate hub server from a plain-English description in under a minute.
Step 6: Announce the program so members actually use it
A referral program nobody knows about generates zero referrals. The launch matters as much as the setup.
Make one clear announcement that states the deal in plain terms: how to get a personal invite link, exactly what each tier earns, and where the leaderboard lives. Pin it. Avoid burying it in a wall of rules. One member should be able to read it in thirty seconds and immediately know how to get their first reward.
Then keep it warm:
- Welcome new members in a way that mentions the program, so every join is a fresh prompt. PeakBot's free welcome messages (embeds, DMs, auto-role) are a natural place to drop a one-line nudge.
- Shout out new tier-ups in a public channel. Nothing recruits inviters like watching someone else get rewarded.
- Refresh the leaderboard on schedule and tag the movers.
Resist the urge to over-hype the copy. "Invite three friends, get the Recruiter role and a private channel" outperforms a paragraph of excitement. Clear beats loud.
Step 7: Measure whether referrals are working
A program you do not measure is a guess. Watch a few numbers and adjust.
- Share of joins from referrals. What fraction of new members came through a tracked member link versus other sources? Rising share means the program is pulling weight.
- Retention of referred members. Referred members should stick around longer than cold joins. If they do not, your inviters are bringing low-quality traffic and you may be rewarding the wrong behavior.
- Active inviter count. How many distinct members invited at least one person this month? A healthy program has a growing base of inviters, not one whale doing everything.
- Tier progression. Are people actually climbing the ladder, or stalling at the first rung? A stall usually means the next reward is too far or not worth it.
PeakBot's free analytics dashboard surfaces join sources, retention, and activity in one place, so you can see these trends without exporting anything. If referrals are clearly your strongest growth channel, lean into it: better rewards, more visibility, more frequent recognition. If they are flat, the fix is almost always a lower first tier or a more interesting top-tier perk — not more announcements.
For the bigger picture of stacking referrals with every other free growth tactic, our walkthrough on how to grow a Discord server from 0 to 1,000 members shows where a referral program fits in the overall plan.
How PeakBot fits in
Most servers stitch this together from several tools: one bot for invite tracking, another for roles, a spreadsheet for the leaderboard. PeakBot does the whole loop with its free tier — invite tracking, automatic milestone roles, XP and leveling with leaderboards, anti-raid protection, welcome messages, and an analytics dashboard — so the program lives in one place and the counts all agree. It is a free, AI-powered bot powering 500+ Discord communities, and it replaces MEE6, Carl-bot, Dyno, and TidyCord with a single install. You can compare the options on the bot comparison page if you want to see how the all-in-one approach stacks up.
FAQ
How do I track who invited someone on Discord?
Use a bot with invite tracking. It records every invite link and its creator, then matches each new member to the link they joined through. PeakBot includes invite tracking free, and it counts retained invites so credit only lands once the invited member actually stays.
What rewards work best for a Discord referral program?
Start with milestone roles, because they are free to give, visible to everyone, and permanent. A low first tier (around three invites) gets people started; higher tiers can unlock private channels, perks, or — for paid communities — revenue share and unique discount codes.
How do I stop people from faking invites?
Count only retained invites, require a minimum activity bar before credit lands, and run anti-raid protection so join-and-leave farming is caught instead of rewarded. Our fake-invite detection guide covers the self-invite and alt-account patterns to watch for.
Can I run a Discord affiliate program for free?
Yes. Invite tracking, milestone roles, leaderboards via XP, anti-raid, welcome messages, and the analytics dashboard are all part of PeakBot's free tier with no time limit. Pro ($8.25/month or $69/year) adds heavier automation and the AI Server Builder for larger paid programs.
Do referral programs actually retain members better than ads?
Referred members arrive with a social tie and usually a friend already inside, which tends to produce stronger retention than cold traffic from ads or listing services. Track retention of referred versus non-referred members in your analytics to confirm it for your own server.
